gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r29306 - gnunet/src/ats


From: gnunet
Subject: [GNUnet-SVN] r29306 - gnunet/src/ats
Date: Mon, 16 Sep 2013 14:36:33 +0200

Author: wachs
Date: 2013-09-16 14:36:33 +0200 (Mon, 16 Sep 2013)
New Revision: 29306

Modified:
   gnunet/src/ats/gnunet-service-ats-solver_proportional.c
Log:
address suggestion cannot be done while deleting: it will suggest the same 
address


Modified: gnunet/src/ats/gnunet-service-ats-solver_proportional.c
===================================================================
--- gnunet/src/ats/gnunet-service-ats-solver_proportional.c     2013-09-16 
12:35:11 UTC (rev 29305)
+++ gnunet/src/ats/gnunet-service-ats-solver_proportional.c     2013-09-16 
12:36:33 UTC (rev 29306)
@@ -1088,13 +1088,6 @@
       if (GNUNET_SYSERR == addresse_decrement (s, net, GNUNET_NO, GNUNET_YES))
         GNUNET_break (0);
       distribute_bandwidth_in_network (s, net, NULL);
-
-      /* Address was active, requesting alternative address */
-                       if (NULL == GAS_proportional_get_preferred_address (s, 
&address->peer))
-                       {
-                               /* No alternative address found, disconnect 
peer */
-                               s->bw_changed  (s->bw_changed_cls, address);
-                       }
   }
   LOG (GNUNET_ERROR_TYPE_DEBUG, "After deleting address now total %u and 
active %u addresses in network `%s'\n",
       net->total_addresses,




reply via email to

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