aboutsummaryrefslogtreecommitdiff
path: root/src/test/test_addr.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2016-01-03 08:27:44 -0800
committerNick Mathewson <nickm@torproject.org>2016-01-03 08:27:44 -0800
commita8749ea9fd6d2a686293a6f24dec4dd4a52b1e3e (patch)
tree96db6b5a2618fca311d1730e8e7955b1330906c3 /src/test/test_addr.c
parentcdbb04be102969bd2cece9daf42896e061cc8880 (diff)
downloadtor-a8749ea9fd6d2a686293a6f24dec4dd4a52b1e3e.tar.gz
tor-a8749ea9fd6d2a686293a6f24dec4dd4a52b1e3e.zip
Test another codepath in inet_ntop
Diffstat (limited to 'src/test/test_addr.c')
-rw-r--r--src/test/test_addr.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/test_addr.c b/src/test/test_addr.c
index 2c25c1ef7d..85130db4fe 100644
--- a/src/test/test_addr.c
+++ b/src/test/test_addr.c
@@ -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::");