]> git.meshlink.io Git - meshlink/commitdiff
Adding comment meshlink_blacklist2
authorSaverio Proto <zioproto@gmail.com>
Fri, 23 May 2014 08:53:51 +0000 (10:53 +0200)
committerSaverio Proto <zioproto@gmail.com>
Fri, 23 May 2014 08:53:51 +0000 (10:53 +0200)
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);