We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 024293c commit 3dba03aCopy full SHA for 3dba03a
p2p/net/swarm/swarm_dial_test.go
@@ -366,8 +366,9 @@ func TestBlackHoledAddrBlocked(t *testing.T) {
366
n := 3
367
s.bhd.ipv6 = &blackHoleFilter{n: n, minSuccesses: 1, name: "IPv6"}
368
369
- // all dials to the address will fail. RFC6666 Discard Prefix
370
- addr := ma.StringCast("/ip6/0100::1/tcp/54321/")
+ // All dials to this addr will fail.
+ // manet.IsPublic is aggressive for IPv6 addresses. Use a NAT64 address.
371
+ addr := ma.StringCast("/ip6/64:ff9b::1.2.3.4/tcp/54321/")
372
373
p, err := test.RandPeerID()
374
if err != nil {
0 commit comments