gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r16225 - gnunet/src/vpn


From: gnunet
Subject: [GNUnet-SVN] r16225 - gnunet/src/vpn
Date: Wed, 27 Jul 2011 09:28:15 +0200

Author: toelke
Date: 2011-07-27 09:28:15 +0200 (Wed, 27 Jul 2011)
New Revision: 16225

Modified:
   gnunet/src/vpn/gnunet-daemon-vpn-helper.c
Log:
how good to be working on intel

Modified: gnunet/src/vpn/gnunet-daemon-vpn-helper.c
===================================================================
--- gnunet/src/vpn/gnunet-daemon-vpn-helper.c   2011-07-27 07:28:14 UTC (rev 
16224)
+++ gnunet/src/vpn/gnunet-daemon-vpn-helper.c   2011-07-27 07:28:15 UTC (rev 
16225)
@@ -327,7 +327,7 @@
                   s->proto= pkt6->ip6_hdr.nxthdr;
                   if (s->proto == 0x11)
                     {
-                      hdr->type = GNUNET_MESSAGE_TYPE_REMOTE_UDP;
+                      hdr->type = htons(GNUNET_MESSAGE_TYPE_REMOTE_UDP);
                       memcpy (hc + 1, &pkt6_udp->udp_hdr,
                               ntohs (pkt6_udp->udp_hdr.len));
                       app_type = GNUNET_APPLICATION_TYPE_INTERNET_UDP_GATEWAY;
@@ -336,7 +336,7 @@
                     }
                   else if (s->proto == 0x06)
                     {
-                      hdr->type = GNUNET_MESSAGE_TYPE_REMOTE_TCP;
+                      hdr->type = htons(GNUNET_MESSAGE_TYPE_REMOTE_TCP);
                       memcpy (hc + 1, &pkt6_tcp->tcp_hdr,
                               ntohs (pkt6->ip6_hdr.paylgth));
                       app_type = GNUNET_APPLICATION_TYPE_INTERNET_TCP_GATEWAY;




reply via email to

[Prev in Thread] Current Thread [Next in Thread]