mirror of
https://github.com/lucheng0127/virtuallan.git
synced 2025-09-26 20:51:11 +08:00
Add TODO implement sync routes for windows
This commit is contained in:
@@ -79,6 +79,7 @@ func MonitorRouteMulticast(iface *net.Interface, tapIP string) {
|
||||
routes := utils.ParseRoutesStream(buf[2:])
|
||||
log.Debugf("receive route multicast:\n%+v", routes)
|
||||
|
||||
// TODO: Implement in windows
|
||||
// Sync routes, use flag replace, for unknow ip need delete
|
||||
if err := utils.SyncRoutesForIface(iface.Name, tapIP, routes); err != nil {
|
||||
log.Errorf("sync route for %s %s", iface.Name, err.Error())
|
||||
|
Reference in New Issue
Block a user