Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
p2p
go-p2p-swarm
Commits
eb6b7f9d
Commit
eb6b7f9d
authored
Apr 10, 2016
by
Lars Gierth
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix address filtering for /ip6, add tests
License: MIT Signed-off-by:
Lars Gierth
<
larsg@systemli.org
>
parent
2589e745
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
swarm_test.go
swarm_test.go
+1
-1
No files found.
swarm_test.go
View file @
eb6b7f9d
...
...
@@ -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
.
Fatal
f
(
"no connections should happen!
-- %s"
,
conn
)
})
_
,
block
,
err
:=
net
.
ParseCIDR
(
"127.0.0.1/8"
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment