X-Git-Url: https://tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Fnet_socket.c;h=526d382a41d37d24ae8a718e95c21fbebd52fc9c;hb=eca357ed916c9782a64a68a2f30b144d84027795;hp=3bf7d757dcf489d0c5c292ccffa641fd900f2783;hpb=3def9d2ad88a9015af4c42aac329e0e2a80679f7;p=tinc diff --git a/src/net_socket.c b/src/net_socket.c index 3bf7d757..526d382a 100644 --- a/src/net_socket.c +++ b/src/net_socket.c @@ -800,6 +800,11 @@ void try_outgoing_connections(void) { continue; } + if(!strcmp(name, myself->name)) { + free(name); + continue; + } + bool found = false; for list_each(outgoing_t, outgoing, outgoing_list) {