diff options
author | Christian Grothoff <christian@grothoff.org> | 2015-05-20 17:19:03 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2015-05-20 17:19:03 +0000 |
commit | 73fb0146652b3ee6a346779e58a44849fcc2cea9 (patch) | |
tree | 668e53a2a38dd21625d4a5a18de093e597c50f2f /src/transport/plugin_transport_wlan.c | |
parent | dfc14c78063c52aaee7301b04fd7c691d8a2df09 (diff) | |
download | gnunet-73fb0146652b3ee6a346779e58a44849fcc2cea9.tar.gz gnunet-73fb0146652b3ee6a346779e58a44849fcc2cea9.zip |
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.c | 4 |
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, | |||
1481 | PLUGIN_NAME, | 1481 | PLUGIN_NAME, |
1482 | &mas->endpoint->wlan_addr, | 1482 | &mas->endpoint->wlan_addr, |
1483 | sizeof (mas->endpoint->wlan_addr), | 1483 | sizeof (mas->endpoint->wlan_addr), |
1484 | GNUNET_HELLO_ADDRESS_INFO_NONE); | 1484 | GNUNET_HELLO_ADDRESS_INFO_INBOUND); |
1485 | mas->session = lookup_session (mas->endpoint, | 1485 | mas->session = lookup_session (mas->endpoint, |
1486 | &tmpsource); | 1486 | &tmpsource); |
1487 | if (NULL == mas->session) | 1487 | if (NULL == mas->session) |
@@ -1609,7 +1609,7 @@ process_data (void *cls, | |||
1609 | PLUGIN_NAME, | 1609 | PLUGIN_NAME, |
1610 | &mas->endpoint->wlan_addr, | 1610 | &mas->endpoint->wlan_addr, |
1611 | sizeof (struct WlanAddress), | 1611 | sizeof (struct WlanAddress), |
1612 | GNUNET_HELLO_ADDRESS_INFO_NONE); | 1612 | GNUNET_HELLO_ADDRESS_INFO_INBOUND); |
1613 | plugin->env->session_start (plugin->env->cls, | 1613 | plugin->env->session_start (plugin->env->cls, |
1614 | address, | 1614 | address, |
1615 | mas->session, | 1615 | mas->session, |