diff options
author | Christian Grothoff <christian@grothoff.org> | 2010-02-04 14:15:59 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2010-02-04 14:15:59 +0000 |
commit | 2d81bf5ffd39cf2b0c6f1cc5c1ae643d34fd0378 (patch) | |
tree | 5d583c2a049e5ccc2ee4b0aa8318b719a4a3f8e9 /src/transport/gnunet-nat-server.c | |
parent | 05de7b8b760415d86f955ff20b195d51b103603a (diff) | |
download | gnunet-2d81bf5ffd39cf2b0c6f1cc5c1ae643d34fd0378.tar.gz gnunet-2d81bf5ffd39cf2b0c6f1cc5c1ae643d34fd0378.zip |
client
Diffstat (limited to 'src/transport/gnunet-nat-server.c')
-rw-r--r-- | src/transport/gnunet-nat-server.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/transport/gnunet-nat-server.c b/src/transport/gnunet-nat-server.c index 77b73b708..0bf398231 100644 --- a/src/transport/gnunet-nat-server.c +++ b/src/transport/gnunet-nat-server.c | |||
@@ -376,8 +376,8 @@ process_icmp_response (const struct in_addr *my_ip, | |||
376 | return; | 376 | return; |
377 | } | 377 | } |
378 | memcpy(&sip, &ip_pkt.src_ip, sizeof (sip)); | 378 | memcpy(&sip, &ip_pkt.src_ip, sizeof (sip)); |
379 | my_magic = ntohs (udp_pkt.checksum_aka_my_magic); | 379 | reply_magic = ntohs (udp_pkt.checksum_aka_my_magic); |
380 | reply_magic = ntohs (udp_pkt.mlen_aka_reply_port_magic); | 380 | my_magic = ntohs (udp_pkt.mlen_aka_reply_port_magic); |
381 | fprintf (stderr, | 381 | fprintf (stderr, |
382 | "Received ICMP from `%s' with hints %u and %u\n", | 382 | "Received ICMP from `%s' with hints %u and %u\n", |
383 | inet_ntop (AF_INET, | 383 | inet_ntop (AF_INET, |