From 2a77b2231c6718843ad5cfe1be0697aa4a725d03 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Philipp=20T=C3=B6lke?= Date: Wed, 15 Jun 2011 07:15:32 +0000 Subject: [PATCH] specify application-types --- src/vpn/gnunet-daemon-exit.c | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/src/vpn/gnunet-daemon-exit.c b/src/vpn/gnunet-daemon-exit.c index c999df834..7ccf2b26b 100644 --- a/src/vpn/gnunet-daemon-exit.c +++ b/src/vpn/gnunet-daemon-exit.c @@ -27,6 +27,7 @@ #include #include #include +#include #include #include #include @@ -1177,7 +1178,15 @@ run (void *cls, {receive_tcp_remote, GNUNET_MESSAGE_TYPE_REMOTE_TCP, 0}, {NULL, 0, 0} }; - mesh_handle = GNUNET_MESH_connect (cfg_, NULL, NULL, handlers, NULL); + + const static GNUNET_MESH_ApplicationType apptypes[] = + { + GNUNET_APPLICATION_TYPE_INTERNET_TCP_GATEWAY, + GNUNET_APPLICATION_TYPE_INTERNET_UDP_GATEWAY, + GNUNET_APPLICATION_TYPE_END + }; + + mesh_handle = GNUNET_MESH_connect (cfg_, NULL, NULL, handlers, apptypes); cfg = cfg_; udp_connections = GNUNET_CONTAINER_multihashmap_create (65536); -- 2.25.1