From: Christian Grothoff Date: Thu, 4 Feb 2010 14:36:29 +0000 (+0000) Subject: fix X-Git-Tag: initial-import-from-subversion-38251~22790 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=eaeb9cc73fcaedf5f4801c996bb54499aea5afcf;p=oweals%2Fgnunet.git fix --- diff --git a/src/transport/gnunet-nat-client.c b/src/transport/gnunet-nat-client.c index 80c1c14ad..0f7f041fb 100644 --- a/src/transport/gnunet-nat-client.c +++ b/src/transport/gnunet-nat-client.c @@ -394,14 +394,14 @@ process_icmp_response (const struct in_addr *my_ip, return; } fprintf (stderr, - "Received ICMP from `%s' with hints %u and %u to local port %u\n", + "Received ICMP from `%s' with outgoing port %u, listen port %u and incoming for other peer %u\n", inet_ntop (AF_INET, &sip, buf, sizeof (buf)), my_magic, - reply_magic, - local_port); + local_port, + reply_magic); if (my_magic == 0) { try_connect (my_ip, &sip, reply_magic); diff --git a/src/transport/gnunet-nat-server.c b/src/transport/gnunet-nat-server.c index ab984d18a..143c4ed32 100644 --- a/src/transport/gnunet-nat-server.c +++ b/src/transport/gnunet-nat-server.c @@ -381,12 +381,13 @@ process_icmp_response (const struct in_addr *my_ip, my_magic = ntohs (udp_pkt.mlen_aka_reply_port_magic); local_port = ntohs (udp_pkt.source_port); fprintf (stderr, - "Received ICMP from `%s' with hints %u and %u\n", + "Received ICMP from `%s' with outgoing port %u, listen port %u and incoming port hint for other peer %u\n", inet_ntop (AF_INET, &sip, buf, sizeof (buf)), my_magic, + local_port, reply_magic); if (my_magic == 0) {