Added cross namespace TUN status detection

This commit is contained in:
Mathias Hall-Andersen
2017-11-29 18:46:31 +01:00
parent af464cff00
commit 471f7ff08e
5 changed files with 35 additions and 8 deletions

View File

@@ -114,8 +114,8 @@ func updateBind(device *Device) error {
// decrease waitgroup to 0
go device.RoutineReceiveIncomming(ipv4.Version, netc.bind)
go device.RoutineReceiveIncomming(ipv6.Version, netc.bind)
go device.RoutineReceiveIncoming(ipv4.Version, netc.bind)
go device.RoutineReceiveIncoming(ipv6.Version, netc.bind)
device.log.Debug.Println("UDP bind has been updated")
}