Skip to content

Commit

Permalink
Add debug log
Browse files Browse the repository at this point in the history
  • Loading branch information
qdm12 committed Nov 15, 2024
1 parent 0dfcb37 commit d7f047e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/netlink/ipv6.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit d7f047e

Please sign in to comment.