Do not cancel outgoing reconnects to nodes defined with ConnectTo
This commit is contained in:
parent
76d278a5c0
commit
6c6675e72a
1 changed files with 1 additions and 1 deletions
|
@ -270,7 +270,7 @@ static void periodic_handler(void *data) {
|
||||||
for list_each(outgoing_t, o, outgoing_list) {
|
for list_each(outgoing_t, o, outgoing_list) {
|
||||||
bool found = false;
|
bool found = false;
|
||||||
for list_each(connection_t, c, connection_list) {
|
for list_each(connection_t, c, connection_list) {
|
||||||
if(c->outgoing == o) {
|
if((c->outgoing == o) && (!c->outgoing->keep_it)) {
|
||||||
found = true;
|
found = true;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue