Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
David Goulet
Tor
Commits
a8749ea9
Commit
a8749ea9
authored
Jan 03, 2016
by
Nick Mathewson
🎨
Browse files
Test another codepath in inet_ntop
parent
cdbb04be
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/test/test_addr.c
View file @
a8749ea9
...
...
@@ -302,6 +302,7 @@ test_addr_ip6_helpers(void *arg)
//test_ntop6_reduces("0:0:0:0:0:0:c0a8:0101", "::192.168.1.1");
test_ntop6_reduces
(
"0:0:0:0:0:ffff:c0a8:0101"
,
"::ffff:192.168.1.1"
);
test_ntop6_reduces
(
"0:0:0:0:0:0:c0a8:0101"
,
"::192.168.1.1"
);
test_ntop6_reduces
(
"002:0:0000:0:3::4"
,
"2::3:0:0:4"
);
test_ntop6_reduces
(
"0:0::1:0:3"
,
"::1:0:3"
);
test_ntop6_reduces
(
"008:0::0"
,
"8::"
);
...
...
Write
Preview
Supports
Markdown
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