fix
authorChristian Grothoff <christian@grothoff.org>
Thu, 4 Feb 2010 14:36:29 +0000 (14:36 +0000)
committerChristian Grothoff <christian@grothoff.org>
Thu, 4 Feb 2010 14:36:29 +0000 (14:36 +0000)
src/transport/gnunet-nat-client.c
src/transport/gnunet-nat-server.c

index 80c1c14adb092fc31e1d14a537e844d764149d41..0f7f041fb2d7d7e2e78db79c40d4674ae4da32b7 100644 (file)
@@ -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);
index ab984d18a3a42c82d0f84882c1cdaf6da876c66e..143c4ed32d9c40fdfad94462a62d64b020c29a50 100644 (file)
@@ -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)
     {