gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r35762 - gnunet/src/transport


From: gnunet
Subject: [GNUnet-SVN] r35762 - gnunet/src/transport
Date: Wed, 20 May 2015 19:19:03 +0200

Author: grothoff
Date: 2015-05-20 19:19:03 +0200 (Wed, 20 May 2015)
New Revision: 35762

Modified:
   gnunet/src/transport/plugin_transport_udp.c
   gnunet/src/transport/plugin_transport_wlan.c
Log:
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

Modified: gnunet/src/transport/plugin_transport_udp.c
===================================================================
--- gnunet/src/transport/plugin_transport_udp.c 2015-05-20 17:04:56 UTC (rev 
35761)
+++ gnunet/src/transport/plugin_transport_udp.c 2015-05-20 17:19:03 UTC (rev 
35762)
@@ -2511,7 +2511,7 @@
                                            PLUGIN_NAME,
                                            udp_addr,
                                            udp_addr_len,
-                                           GNUNET_HELLO_ADDRESS_INFO_NONE);
+                                           GNUNET_HELLO_ADDRESS_INFO_INBOUND);
   if (NULL ==
       (s = udp_plugin_lookup_session (plugin,
                                       address)))

Modified: gnunet/src/transport/plugin_transport_wlan.c
===================================================================
--- gnunet/src/transport/plugin_transport_wlan.c        2015-05-20 17:04:56 UTC 
(rev 35761)
+++ gnunet/src/transport/plugin_transport_wlan.c        2015-05-20 17:19:03 UTC 
(rev 35762)
@@ -1481,7 +1481,7 @@
                                              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 @@
                                                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,




reply via email to

[Prev in Thread] Current Thread [Next in Thread]