Skip to content

Commit

Permalink
test single stack ipv6
Browse files Browse the repository at this point in the history
Signed-off-by: Alona Kaplan <alkaplan@redhat.com>
  • Loading branch information
AlonaKaplan committed Jan 31, 2022
1 parent c793106 commit c471f71
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/util/net/ip/ip.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ const (
IPv4Loopback = "127.0.0.1"
)

// TODO check if this is problematic on single stack
// GetLoopbackAddress returns IPv4 / IPv6 loopback address (according sysctl disable_ipv6)
var GetLoopbackAddress = func() string {
return getLoopbackAddress(isIPv6Disabled(disableIPv6Path))
Expand Down

0 comments on commit c471f71

Please sign in to comment.