summaryrefslogtreecommitdiff
path: root/src/transport/plugin_transport_udp.h
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2013-05-16 12:45:56 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2013-05-16 12:45:56 +0000
commit3a03bbb4b950948d18e0e6c263fad2dca4e1a7c5 (patch)
treefcd38eb2e5e60a161a1dfe6da7880f349b450b5e /src/transport/plugin_transport_udp.h
parent12b5faf3eeb5bd10b3ad6f74d6f74d90299dbb3c (diff)
fixing memory leaks in udp
Diffstat (limited to 'src/transport/plugin_transport_udp.h')
-rw-r--r--src/transport/plugin_transport_udp.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/transport/plugin_transport_udp.h b/src/transport/plugin_transport_udp.h
index bab8e6cf0..fe46bf85b 100644
--- a/src/transport/plugin_transport_udp.h
+++ b/src/transport/plugin_transport_udp.h
@@ -251,11 +251,16 @@ struct Plugin
struct BroadcastAddress *ipv4_broadcast_head;
/**
- * Enable IPv6
+ * Is IPv6 enabled: GNUNET_YES or GNUNET_NO
*/
int enable_ipv6;
/**
+ * Is IPv4 enabled: GNUNET_YES or GNUNET_NO
+ */
+ int enable_ipv4;
+
+ /**
* Port we broadcasting on.
*/
uint16_t broadcast_port;