diff options
author | Christian Grothoff <christian@grothoff.org> | 2015-10-05 15:28:21 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2015-10-05 15:28:21 +0000 |
commit | ef76e090bf279f25038c03eec4eac96bbfbe952e (patch) | |
tree | 9e70dd991daefef65cd85dbcdc4bc4d19b7fedb0 /src/transport/plugin_transport_udp.c | |
parent | 8c85bda93a8ece52f02af7f20fb797ad6ac79337 (diff) | |
download | gnunet-ef76e090bf279f25038c03eec4eac96bbfbe952e.tar.gz gnunet-ef76e090bf279f25038c03eec4eac96bbfbe952e.zip |
fix #3986
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 | { |