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:
ce67691
)
fix
author
Christian Grothoff
<christian@grothoff.org>
Wed, 2 Feb 2011 07:52:33 +0000
(07:52 +0000)
committer
Christian Grothoff
<christian@grothoff.org>
Wed, 2 Feb 2011 07:52:33 +0000
(07:52 +0000)
src/vpn/gnunet-daemon-exit.c
patch
|
blob
|
history
diff --git
a/src/vpn/gnunet-daemon-exit.c
b/src/vpn/gnunet-daemon-exit.c
index 08e21509379a8083d8bcf88459730c490ae43454..ba382a16cc962e943e8242452953ca0d6e1f8d9c 100644
(file)
--- a/
src/vpn/gnunet-daemon-exit.c
+++ b/
src/vpn/gnunet-daemon-exit.c
@@
-161,7
+161,7
@@
send_to_network (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
memset(&a4, 0, sizeof(struct sockaddr_in));
a4.sin_family = AF_INET;
a4.sin_port = htons(data->state.dpt);
- GNUNET_assert (
0
== inet_pton (AF_INET, "127.0.0.1", &a4.sin_addr));
+ GNUNET_assert (
1
== inet_pton (AF_INET, "127.0.0.1", &a4.sin_addr));
GNUNET_NETWORK_socket_sendto (data->sock, pkt + 1,
ntohs (pkt->len) - sizeof (struct udp_pkt),
(struct sockaddr*)&a4, sizeof a4);