From 9840bf19f7b5d401aa7c5d30f0d01626ae5c1b88 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Philipp=20T=C3=B6lke?= Date: Wed, 27 Jul 2011 07:28:08 +0000 Subject: [PATCH] do not use unused application-types --- src/vpn/gnunet-daemon-vpn-helper.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/vpn/gnunet-daemon-vpn-helper.c b/src/vpn/gnunet-daemon-vpn-helper.c index 52c8b4a9c..ebdc0d2ae 100644 --- a/src/vpn/gnunet-daemon-vpn-helper.c +++ b/src/vpn/gnunet-daemon-vpn-helper.c @@ -331,12 +331,7 @@ message_token (void *cls __attribute__((unused)), 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) { -- 2.25.1