summaryrefslogtreecommitdiff
path: root/src/transport/plugin_transport_wlan.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2015-05-20 17:19:03 +0000
committerChristian Grothoff <christian@grothoff.org>2015-05-20 17:19:03 +0000
commit73fb0146652b3ee6a346779e58a44849fcc2cea9 (patch)
tree668e53a2a38dd21625d4a5a18de093e597c50f2f /src/transport/plugin_transport_wlan.c
parentdfc14c78063c52aaee7301b04fd7c691d8a2df09 (diff)
set inbound flag which should fix #3719 (assuming diagnostic is correct) at the expense of having two session objects for what is pretty much the same address; however, as the inbound one is not really validated and might not work due to NAT, this actually does make sense
Diffstat (limited to 'src/transport/plugin_transport_wlan.c')
-rw-r--r--src/transport/plugin_transport_wlan.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/transport/plugin_transport_wlan.c b/src/transport/plugin_transport_wlan.c
index c0e629b83..3a25e921b 100644
--- a/src/transport/plugin_transport_wlan.c
+++ b/src/transport/plugin_transport_wlan.c
@@ -1481,7 +1481,7 @@ process_data (void *cls,
PLUGIN_NAME,
&mas->endpoint->wlan_addr,
sizeof (mas->endpoint->wlan_addr),
- GNUNET_HELLO_ADDRESS_INFO_NONE);
+ GNUNET_HELLO_ADDRESS_INFO_INBOUND);
mas->session = lookup_session (mas->endpoint,
&tmpsource);
if (NULL == mas->session)
@@ -1609,7 +1609,7 @@ process_data (void *cls,
PLUGIN_NAME,
&mas->endpoint->wlan_addr,
sizeof (struct WlanAddress),
- GNUNET_HELLO_ADDRESS_INFO_NONE);
+ GNUNET_HELLO_ADDRESS_INFO_INBOUND);
plugin->env->session_start (plugin->env->cls,
address,
mas->session,