projects
/
meshlink
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f695ec9
)
Adding comment
meshlink_blacklist2
author
Saverio Proto
<zioproto@gmail.com>
Fri, 23 May 2014 08:53:51 +0000
(10:53 +0200)
committer
Saverio Proto
<zioproto@gmail.com>
Fri, 23 May 2014 08:53:51 +0000
(10:53 +0200)
src/net.c
patch
|
blob
|
history
diff --git
a/src/net.c
b/src/net.c
index 866bacb10c7eb46d5cdaaf93086f8d72ad1129d0..deac6eee42a612a57ef3e621a0eb657f0b924913 100644
(file)
--- a/
src/net.c
+++ b/
src/net.c
@@
-178,6
+178,8
@@
static void periodic_handler(event_loop_t *loop, void *data) {
}
if(!found) {
+ //TODO: if the node is blacklisted the connection will not happen, but
+ //the user will read this debug message "Autoconnecting to %s" that is misleading
logger(DEBUG_CONNECTIONS, LOG_INFO, "Autoconnecting to %s", n->name);
outgoing_t *outgoing = xzalloc(sizeof *outgoing);
outgoing->name = xstrdup(n->name);