gnunet-svn
[Top][All Lists]
Advanced

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

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


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

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

Modified:
   gnunet/src/vpn/gnunet-daemon-vpn-helper.c
Log:
do not use unused application-types

Modified: gnunet/src/vpn/gnunet-daemon-vpn-helper.c
===================================================================
--- gnunet/src/vpn/gnunet-daemon-vpn-helper.c   2011-07-27 07:28:06 UTC (rev 
16217)
+++ gnunet/src/vpn/gnunet-daemon-vpn-helper.c   2011-07-27 07:28:08 UTC (rev 
16218)
@@ -331,12 +331,7 @@
                       hdr->type = GNUNET_MESSAGE_TYPE_REMOTE_TCP;
                       memcpy (hc + 1, &pkt6_tcp->tcp_hdr,
                               ntohs (pkt6->ip6_hdr.paylgth));
-                      if (ntohs(pkt6_tcp->tcp_hdr.dpt) == 443)
-                        app_type = 
GNUNET_APPLICATION_TYPE_INTERNET_HTTPS_GATEWAY;
-                      else if (ntohs(pkt6_tcp->tcp_hdr.dpt) == 80)
-                        app_type = 
GNUNET_APPLICATION_TYPE_INTERNET_HTTP_GATEWAY;
-                      else
-                        app_type = 
GNUNET_APPLICATION_TYPE_INTERNET_TCP_GATEWAY;
+                      app_type = GNUNET_APPLICATION_TYPE_INTERNET_TCP_GATEWAY;
                     }
                   if (me->tunnel == NULL && NULL != cls)
                     {




reply via email to

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