From: Philipp Tölke Date: Wed, 15 Jun 2011 07:15:41 +0000 (+0000) Subject: When connecting to mesh, give your app-types! X-Git-Tag: initial-import-from-subversion-38251~18183 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=32836e0a1ea37c794f740eba5e713c00d44e149c;p=oweals%2Fgnunet.git When connecting to mesh, give your app-types! --- diff --git a/src/vpn/gnunet-daemon-vpn.c b/src/vpn/gnunet-daemon-vpn.c index a085f8065..8f78073dd 100644 --- a/src/vpn/gnunet-daemon-vpn.c +++ b/src/vpn/gnunet-daemon-vpn.c @@ -29,6 +29,7 @@ #include "gnunet-vpn-packet.h" #include "gnunet_common.h" #include "gnunet_protocols.h" +#include "gnunet_applications.h" #include #include "gnunet_client_lib.h" #include "gnunet_container_lib.h" @@ -714,11 +715,16 @@ run (void *cls, {receive_tcp_back, GNUNET_MESSAGE_TYPE_REMOTE_TCP_BACK, 0}, {NULL, 0, 0} }; + + static const GNUNET_MESH_ApplicationType types[] = { + GNUNET_APPLICATION_TYPE_END + }; + mesh_handle = GNUNET_MESH_connect(cfg_, NULL, NULL, handlers, - NULL); + types); cfg = cfg_; restart_hijack = 0; hashmap = GNUNET_CONTAINER_multihashmap_create(65536);