projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add -I m4 back to ACLOCAL_AMFLAGS.
[tinc]
/
src
/
net_socket.c
diff --git
a/src/net_socket.c
b/src/net_socket.c
index
3bf7d75
..
97d6c44
100644
(file)
--- a/
src/net_socket.c
+++ b/
src/net_socket.c
@@
-617,7
+617,7
@@
void setup_outgoing_connection(outgoing_t *outgoing) {
if(n)
outgoing->aip = outgoing->ai = get_known_addresses(n);
if(!outgoing->ai) {
if(n)
outgoing->aip = outgoing->ai = get_known_addresses(n);
if(!outgoing->ai) {
- logger(DEBUG_ALWAYS, LOG_
ERR
, "No address known for %s", outgoing->name);
+ logger(DEBUG_ALWAYS, LOG_
DEBUG
, "No address known for %s", outgoing->name);
return;
}
}
return;
}
}
@@
-800,6
+800,11
@@
void try_outgoing_connections(void) {
continue;
}
continue;
}
+ if(!strcmp(name, myself->name)) {
+ free(name);
+ continue;
+ }
+
bool found = false;
for list_each(outgoing_t, outgoing, outgoing_list) {
bool found = false;
for list_each(outgoing_t, outgoing, outgoing_list) {