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

index ada7b3b188eb7f57d18203ab4cef62ae3602ae36..6854b646ca952acd0611c7bcc2c56bf9d81f42e2 100644 (file)
@@ -380,8 +380,8 @@ process_icmp_response (const struct in_addr *my_ip,
       return;
     }
   memcpy(&sip, &ip_pkt.src_ip, sizeof (sip));
-  my_magic = ntohs (udp_pkt.checksum_aka_my_magic);
-  reply_magic = ntohs (udp_pkt.mlen_aka_reply_port_magic);
+  reply_magic = ntohs (udp_pkt.checksum_aka_my_magic);
+  my_magic = ntohs (udp_pkt.mlen_aka_reply_port_magic);
   if  (my_magic == 0)
     {
 #if 0