projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Pass the requested size from xmalloc() and xrealloc() on to xalloc_fail_func()
[tinc]
/
src
/
net.c
diff --git
a/src/net.c
b/src/net.c
index
daa8cf5
..
ec28d6a
100644
(file)
--- a/
src/net.c
+++ b/
src/net.c
@@
-256,8
+256,9
@@
int send_packet(ip_t to, vpn_packet_t *packet)
}
for(cl = conn_list; cl != NULL && !cl->status.outgoing; cl = cl->next);
if(!cl)
}
for(cl = conn_list; cl != NULL && !cl->status.outgoing; cl = cl->next);
if(!cl)
- {
- syslog(LOG_ERR, "zxnrbl");
+ { /* No open outgoing connection has been found. */
+ if(debug_lvl > 2)
+ syslog(LOG_NOTICE, "There is no remote host I can send this packet to.");
return -1;
}
}
return -1;
}
}