]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Test another codepath in inet_ntop
authorNick Mathewson <nickm@torproject.org>
Sun, 3 Jan 2016 16:27:44 +0000 (08:27 -0800)
committerNick Mathewson <nickm@torproject.org>
Sun, 3 Jan 2016 16:27:44 +0000 (08:27 -0800)
src/test/test_addr.c

index 2c25c1ef7d6ec000689221e205f656789583c73f..85130db4fe31104790e83c4cf927f9e0e53e28b8 100644 (file)
@@ -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::");