diff options
author | irungentoo <irungentoo@gmail.com> | 2014-02-17 19:28:31 -0500 |
---|---|---|
committer | irungentoo <irungentoo@gmail.com> | 2014-02-17 19:28:31 -0500 |
commit | 4b4507b44fe6cc73dea377c1d8a48b00a48be296 (patch) | |
tree | 4d3dd99b853ee6d87741b430b72af850403fa799 | |
parent | 34a5fc8b4706ad2948b360b85c914827d25df0a7 (diff) |
Fixed test issue.
-rw-r--r-- | auto_tests/network_test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/auto_tests/network_test.c b/auto_tests/network_test.c index 35209bea..bf6ef17a 100644 --- a/auto_tests/network_test.c +++ b/auto_tests/network_test.c | |||
@@ -112,7 +112,7 @@ START_TEST(test_ip_equal) | |||
112 | ip2.ip6.uint32[2] = htonl(0xFFFF); | 112 | ip2.ip6.uint32[2] = htonl(0xFFFF); |
113 | ip2.ip6.uint32[3] = htonl(0x7F000001); | 113 | ip2.ip6.uint32[3] = htonl(0x7F000001); |
114 | 114 | ||
115 | ck_assert_msg(IN6_IS_ADDR_V4MAPPED(&ip2.ip6) != 0, "IN6_IS_ADDR_V4MAPPED(::ffff:127.0.0.1): expected != 0, got 0."); | 115 | ck_assert_msg(IN6_IS_ADDR_V4MAPPED(&ip2.ip6.in6_addr) != 0, "IN6_IS_ADDR_V4MAPPED(::ffff:127.0.0.1): expected != 0, got 0."); |
116 | 116 | ||
117 | res = ip_equal(&ip1, &ip2); | 117 | res = ip_equal(&ip1, &ip2); |
118 | ck_assert_msg(res != 0, "ip_equal( {AF_INET, 127.0.0.1}, {AF_INET6, ::ffff:127.0.0.1} ): expected result != 0, got 0."); | 118 | ck_assert_msg(res != 0, "ip_equal( {AF_INET, 127.0.0.1}, {AF_INET6, ::ffff:127.0.0.1} ): expected result != 0, got 0."); |