Network start listening on new interfaces #2

Removal from listening IP map
This commit is contained in:
Kleissner
2021-03-02 04:48:08 +01:00
parent 56a24b8b64
commit 76e4114be9
3 changed files with 45 additions and 23 deletions

View File

@@ -172,6 +172,7 @@ func networkChangeMonitor() {
func networkChangeInterfaceNew(iface net.Interface, addresses []net.Addr) {
log.Printf("networkChangeInterfaceNew new interface '%s' (%d IPs)\n", iface.Name, len(addresses))
networkStart(iface, addresses)
}
// networkChangeInterfaceRemove is called when an existing interface is removed