aboutsummaryrefslogtreecommitdiff
path: root/src/transport/plugin_transport_udp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/transport/plugin_transport_udp.c')
-rw-r--r--src/transport/plugin_transport_udp.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/transport/plugin_transport_udp.c b/src/transport/plugin_transport_udp.c
index 8d0bbea47..ef4fddb24 100644
--- a/src/transport/plugin_transport_udp.c
+++ b/src/transport/plugin_transport_udp.c
@@ -2016,8 +2016,7 @@ udp_plugin_send (void *cls,
2016 * For UDP we update session timeout only on receive, this will 2016 * For UDP we update session timeout only on receive, this will
2017 * cover keep alives, since remote peer will reply with keep alive 2017 * cover keep alives, since remote peer will reply with keep alive
2018 * responses! 2018 * responses!
2019 */ 2019 */if (udpmlen <= UDP_MTU)
2020 if (udpmlen <= UDP_MTU)
2021 { 2020 {
2022 /* unfragmented message */ 2021 /* unfragmented message */
2023 udpw = GNUNET_malloc (sizeof(struct UDP_MessageWrapper) + udpmlen); 2022 udpw = GNUNET_malloc (sizeof(struct UDP_MessageWrapper) + udpmlen);
@@ -3178,8 +3177,7 @@ analyze_send_error (struct Plugin *plugin,
3178 * This indicates that this system is IPv6 enabled, but does not 3177 * This indicates that this system is IPv6 enabled, but does not
3179 * have a valid global IPv6 address assigned or we do not have 3178 * have a valid global IPv6 address assigned or we do not have
3180 * connectivity 3179 * connectivity
3181 */ 3180 */LOG (GNUNET_ERROR_TYPE_WARNING | GNUNET_ERROR_TYPE_BULK,
3182 LOG (GNUNET_ERROR_TYPE_WARNING | GNUNET_ERROR_TYPE_BULK,
3183 _ ( 3181 _ (
3184 "UDP could not transmit IPv6 message! " 3182 "UDP could not transmit IPv6 message! "
3185 "Please check your network configuration and disable IPv6 if your " 3183 "Please check your network configuration and disable IPv6 if your "
@@ -3894,4 +3892,5 @@ libgnunet_plugin_transport_udp_done (void *cls)
3894 return NULL; 3892 return NULL;
3895} 3893}
3896 3894
3895
3897/* end of plugin_transport_udp.c */ 3896/* end of plugin_transport_udp.c */