net: Remove dnsmasq and radvd files also when destroying transient nets
The network driver didn't care about config files when a network was destroyed, just when it was undefined leaving behind files for transient networks. This patch splits out the cleanup code to a helper function that handles the cleanup if the inactive network object is being removed and re-uses this code when getting rid of inactive networks.
Showing
想要评论请 注册 或 登录