Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix windows network monitor next hop ip log #2168

Merged
merged 1 commit into from
Jun 20, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Fix windows network monitor next hop ip log
  • Loading branch information
lixmal committed Jun 20, 2024
commit e084f5e0c14920b5d6a0aa198661d089d8ff7071
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
Loading