From d7f047e11aabd31cebfe1490528aca03f8717dbe Mon Sep 17 00:00:00 2001 From: Quentin McGaw Date: Fri, 15 Nov 2024 15:33:12 +0000 Subject: [PATCH] Add debug log --- internal/netlink/ipv6.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/netlink/ipv6.go b/internal/netlink/ipv6.go index 93cd8c9ac..960581881 100644 --- a/internal/netlink/ipv6.go +++ b/internal/netlink/ipv6.go @@ -36,6 +36,7 @@ func (n *NetLink) FindIPv6SupportLevel() (level IPv6SupportLevel, err error) { if err != nil { return IPv6Unsupported, fmt.Errorf("finding link corresponding to route: %w", err) } + n.debugLogger.Debugf("Checking route (link %s): %#v", link.Name, route) sourceIsIPv6 := route.Src.IsValid() && route.Src.Is6() destinationIsIPv6 := route.Dst.IsValid() && route.Dst.Addr().Is6()