diff options
Diffstat (limited to 'src/transport/plugin_transport_udp.c')
-rw-r--r-- | src/transport/plugin_transport_udp.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/transport/plugin_transport_udp.c b/src/transport/plugin_transport_udp.c index 5836f28bc..c7ee5b6e5 100644 --- a/src/transport/plugin_transport_udp.c +++ b/src/transport/plugin_transport_udp.c | |||
@@ -2855,11 +2855,11 @@ udp_select_read (struct Plugin *plugin, | |||
2855 | return; | 2855 | return; |
2856 | } | 2856 | } |
2857 | 2857 | ||
2858 | 2858 | /* Check if this is a STUN packet */ | |
2859 | /* PROCESS STUN PACKET */ | 2859 | if (GNUNET_NAT_is_valid_stun_packet (plugin->nat, |
2860 | if(GNUNET_NAT_is_valid_stun_packet(plugin->nat,(uint8_t *)buf, size )) | 2860 | (uint8_t *)buf, |
2861 | return; | 2861 | size)) |
2862 | 2862 | return; /* was STUN, do not process further */ | |
2863 | 2863 | ||
2864 | if (size < sizeof(struct GNUNET_MessageHeader)) | 2864 | if (size < sizeof(struct GNUNET_MessageHeader)) |
2865 | { | 2865 | { |