Set keep_it flag on outgoing connections which are set by ConnectTo

This commit is contained in:
thorkill 2015-07-10 01:44:49 +02:00
parent 606948116d
commit 76d278a5c0

View file

@ -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);
}