projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ac3c418
)
[topology] Fix blacklist condition
author
David Barksdale
<amatus@amat.us>
Sat, 24 Jun 2017 04:18:59 +0000
(23:18 -0500)
committer
David Barksdale
<amatus@amat.us>
Sat, 24 Jun 2017 04:18:59 +0000
(23:18 -0500)
This fixes issue #5086.
src/topology/gnunet-daemon-topology.c
patch
|
blob
|
history
diff --git
a/src/topology/gnunet-daemon-topology.c
b/src/topology/gnunet-daemon-topology.c
index 537ffe059f744f21a9e7dcc81ac29b81d1f6b908..4415d0a24c97b38818fbbcd9816fe12540d0b17b 100644
(file)
--- a/
src/topology/gnunet-daemon-topology.c
+++ b/
src/topology/gnunet-daemon-topology.c
@@
-1183,8
+1183,8
@@
run (void *cls,
"Topology would like %u connections with at least %u friends\n",
target_connection_count,
minimum_friend_count);
- if ( (
friend_count < minimum_friend_count) &&
- (
NULL == blacklist
))
+ if ( (
GNUNET_YES == friends_only) ||
+ (
minimum_friend_count > 0
))
blacklist = GNUNET_TRANSPORT_blacklist (cfg,
&blacklist_check,
NULL);