Skip to content

Commit

Permalink
fix(getAllLocalIPs): get IPv6 & IPv4 addresses
Browse files Browse the repository at this point in the history
  • Loading branch information
aauren committed Jul 31, 2024
1 parent 71072c1 commit 2522b4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/controllers/proxy/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -563,7 +563,7 @@ func getAllLocalIPs() (map[v1.IPFamily][]net.IP, error) {
continue
}

linkAddrs, err := netlink.AddrList(link, netlink.FAMILY_V4)
linkAddrs, err := netlink.AddrList(link, netlink.FAMILY_ALL)
if err != nil {
return nil, fmt.Errorf("failed to get IPs for interface: %v", err)
}
Expand Down

0 comments on commit 2522b4d

Please sign in to comment.