aboutsummaryrefslogtreecommitdiff
path: root/src/tun
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2012-02-24 17:47:23 +0000
committerChristian Grothoff <christian@grothoff.org>2012-02-24 17:47:23 +0000
commit41c8678659c808f55ded18ac08e5e76a681d4e74 (patch)
treebd62020ebcb9897afa794c3d3adee21976a07958 /src/tun
parent1bcb11a931fab488e960ec6980ed4251e5f4231c (diff)
downloadgnunet-41c8678659c808f55ded18ac08e5e76a681d4e74.tar.gz
gnunet-41c8678659c808f55ded18ac08e5e76a681d4e74.zip
-fix
Diffstat (limited to 'src/tun')
-rw-r--r--src/tun/test_tun.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tun/test_tun.c b/src/tun/test_tun.c
index 3897a7be1..3539fd177 100644
--- a/src/tun/test_tun.c
+++ b/src/tun/test_tun.c
@@ -39,8 +39,8 @@ test_udp (size_t pll,
39 struct in_addr src; 39 struct in_addr src;
40 struct in_addr dst; 40 struct in_addr dst;
41 41
42 inet_pton (AF_INET, "1.2.3.4", &src); 42 GNUNET_assert (1 == inet_pton (AF_INET, "1.2.3.4", &src));
43 inet_pton (AF_INET, "122.2.3.5", &dst); 43 GNUNET_assert (1 == inet_pton (AF_INET, "122.2.3.5", &dst));
44 memset (payload, pl_fill, sizeof (payload)); 44 memset (payload, pl_fill, sizeof (payload));
45 GNUNET_TUN_initialize_ipv4_header (&ip, 45 GNUNET_TUN_initialize_ipv4_header (&ip,
46 IPPROTO_UDP, 46 IPPROTO_UDP,