diff options
Diffstat (limited to 'src/vpn/gnunet-daemon-vpn.c')
-rw-r--r-- | src/vpn/gnunet-daemon-vpn.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/vpn/gnunet-daemon-vpn.c b/src/vpn/gnunet-daemon-vpn.c index 301ba90be..06cade482 100644 --- a/src/vpn/gnunet-daemon-vpn.c +++ b/src/vpn/gnunet-daemon-vpn.c | |||
@@ -931,8 +931,8 @@ receive_udp_back (void *cls | |||
931 | GNUNET_assert (me != NULL); | 931 | GNUNET_assert (me != NULL); |
932 | if (ntohs (message->type) == GNUNET_MESSAGE_TYPE_VPN_SERVICE_UDP_BACK) | 932 | if (ntohs (message->type) == GNUNET_MESSAGE_TYPE_VPN_SERVICE_UDP_BACK) |
933 | { | 933 | { |
934 | GNUNET_assert (me-> | 934 | GNUNET_assert (me->desc. |
935 | desc.service_type & htonl (GNUNET_DNS_SERVICE_TYPE_UDP)); | 935 | service_type & htonl (GNUNET_DNS_SERVICE_TYPE_UDP)); |
936 | if (!port_in_ports (me->desc.ports, pkt6->udp_hdr.spt) && | 936 | if (!port_in_ports (me->desc.ports, pkt6->udp_hdr.spt) && |
937 | !testBit (me->additional_ports, ntohs (pkt6->udp_hdr.spt))) | 937 | !testBit (me->additional_ports, ntohs (pkt6->udp_hdr.spt))) |
938 | { | 938 | { |
@@ -1109,8 +1109,8 @@ receive_tcp_back (void *cls | |||
1109 | 1109 | ||
1110 | GNUNET_assert (me != NULL); | 1110 | GNUNET_assert (me != NULL); |
1111 | if (ntohs (message->type) == GNUNET_MESSAGE_TYPE_VPN_SERVICE_UDP_BACK) | 1111 | if (ntohs (message->type) == GNUNET_MESSAGE_TYPE_VPN_SERVICE_UDP_BACK) |
1112 | GNUNET_assert (me-> | 1112 | GNUNET_assert (me->desc. |
1113 | desc.service_type & htonl (GNUNET_DNS_SERVICE_TYPE_TCP)); | 1113 | service_type & htonl (GNUNET_DNS_SERVICE_TYPE_TCP)); |
1114 | 1114 | ||
1115 | pkt6->tcp_hdr.crc = 0; | 1115 | pkt6->tcp_hdr.crc = 0; |
1116 | uint32_t sum = 0; | 1116 | uint32_t sum = 0; |