Skip to content

Commit

Permalink
Fix windows network monitor next hop ip log (#2168)
Browse files Browse the repository at this point in the history
  • Loading branch information
lixmal authored Jun 20, 2024
1 parent f9462ee commit 4a3e78f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/internal/networkmonitor/monitor_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ func routeChanged(nexthop systemops.Nexthop, intf *net.Interface, routes map[net
if r.Interface != nil {
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
}
} else {
Expand Down

0 comments on commit 4a3e78f

Please sign in to comment.