mirror of
https://github.com/netbirdio/netbird.git
synced 2025-02-02 19:39:17 +01:00
Fix windows network monitor next hop ip log (#2168)
This commit is contained in:
parent
f9462eea27
commit
4a3e78fb0f
@ -108,7 +108,7 @@ func routeChanged(nexthop systemops.Nexthop, intf *net.Interface, routes map[net
|
|||||||
if r.Interface != nil {
|
if r.Interface != nil {
|
||||||
newIntf = r.Interface.Name
|
newIntf = r.Interface.Name
|
||||||
}
|
}
|
||||||
log.Infof("network monitor: default route changed: %s from %s (%s) to %s (%s)", r.Destination, nexthop.IP, oldIntf, nexthop.IP, newIntf)
|
log.Infof("network monitor: default route changed: %s from %s (%s) to %s (%s)", r.Destination, nexthop.IP, oldIntf, r.Nexthop, newIntf)
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user