Displaying 2 results from an estimated 2 matches for "ip_addr_s".
Did you mean:
ip_addr_v
1999 Oct 20
3
patch for tinc-0.3
Hi tinc list members,
There were some problems with Ivo's email adresses (both zarq@iname.com
and
zarq@spark.icicle.dhs.org) so I resent the stuff to the mailling list.
=============================================
Hi Ivo,
Hier is een oplossing voor een bugje in flush_queue(), en ook wat andere
troepjes
zoals een tincd scheduler. Dit werkt wat beter, omdat de
2000 Nov 08
1
socket leakage patch
...{
+ close(nfd);
syslog(LOG_ERR, _("Can't bind to port %hd/udp: %m"), port);
return -1;
}
@@ -458,6 +465,7 @@
if(connect(cl->meta_socket, (struct sockaddr *)&a, sizeof(a)) == -1)
{
+ close(cl->meta_socket);
syslog(LOG_ERR, _(IP_ADDR_S ":%d: %m"), IP_ADDR_V(cl->real_ip), cl->port);
return -1;
}
@@ -465,6 +473,7 @@
flags = fcntl(cl->meta_socket, F_GETFL);
if(fcntl(cl->meta_socket, F_SETFL, flags | O_NONBLOCK) < 0)
{
+ close(cl->meta_socket);
syslog(LOG_ERR, _("fcn...