浏览代码

Test another codepath in inet_ntop

Nick Mathewson 9 年之前
父节点
当前提交
a8749ea9fd
共有 1 个文件被更改,包括 1 次插入0 次删除
  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: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::");