Browse Source

Test another codepath in inet_ntop

Nick Mathewson 8 years ago
parent
commit
a8749ea9fd
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/test/test_addr.c

+ 1 - 0
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: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: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("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("0:0::1:0:3", "::1:0:3");
   test_ntop6_reduces("008:0::0", "8::");
   test_ntop6_reduces("008:0::0", "8::");