projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1bcb11a
)
-fix
author
Christian Grothoff
<christian@grothoff.org>
Fri, 24 Feb 2012 17:47:23 +0000
(17:47 +0000)
committer
Christian Grothoff
<christian@grothoff.org>
Fri, 24 Feb 2012 17:47:23 +0000
(17:47 +0000)
src/tun/test_tun.c
patch
|
blob
|
history
diff --git
a/src/tun/test_tun.c
b/src/tun/test_tun.c
index 3897a7be1117bb90edeb8cc81708b0451747dfa7..3539fd177ebe640122bff6ad7316e5b54c855faf 100644
(file)
--- a/
src/tun/test_tun.c
+++ b/
src/tun/test_tun.c
@@
-39,8
+39,8
@@
test_udp (size_t pll,
struct in_addr src;
struct in_addr dst;
-
inet_pton (AF_INET, "1.2.3.4", &src
);
-
inet_pton (AF_INET, "122.2.3.5", &dst
);
+
GNUNET_assert (1 == inet_pton (AF_INET, "1.2.3.4", &src)
);
+
GNUNET_assert (1 == inet_pton (AF_INET, "122.2.3.5", &dst)
);
memset (payload, pl_fill, sizeof (payload));
GNUNET_TUN_initialize_ipv4_header (&ip,
IPPROTO_UDP,