Commit eb6b7f9d authored by Lars Gierth's avatar Lars Gierth

Fix address filtering for /ip6, add tests

License: MIT
Signed-off-by: default avatarLars Gierth <larsg@systemli.org>
parent 2589e745
......@@ -303,7 +303,7 @@ func TestAddrBlocking(t *testing.T) {
swarms := makeSwarms(ctx, t, 2)
swarms[0].SetConnHandler(func(conn *Conn) {
t.Fatal("no connections should happen!")
t.Fatalf("no connections should happen! -- %s", conn)
})
_, block, err := net.ParseCIDR("127.0.0.1/8")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment