From 4a3e78fb0f7a5e2e3fb3ee4f9e2415c95b17e9d4 Mon Sep 17 00:00:00 2001 From: Viktor Liu <17948409+lixmal@users.noreply.github.com> Date: Thu, 20 Jun 2024 16:59:33 +0200 Subject: [PATCH] Fix windows network monitor next hop ip log (#2168) --- client/internal/networkmonitor/monitor_windows.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/internal/networkmonitor/monitor_windows.go b/client/internal/networkmonitor/monitor_windows.go index 405ef4145..d9e998da0 100644 --- a/client/internal/networkmonitor/monitor_windows.go +++ b/client/internal/networkmonitor/monitor_windows.go @@ -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 {