Set keep_it flag on outgoing connections which are set by ConnectTo
This commit is contained in:
parent
606948116d
commit
76d278a5c0
1 changed files with 1 additions and 0 deletions
|
@ -822,6 +822,7 @@ void try_outgoing_connections(void) {
|
|||
if(!found) {
|
||||
outgoing_t *outgoing = xzalloc(sizeof *outgoing);
|
||||
outgoing->name = name;
|
||||
outgoing->keep_it = true;
|
||||
list_insert_tail(outgoing_list, outgoing);
|
||||
setup_outgoing_connection(outgoing);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue