X-Git-Url: https://tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=src%2Fnet_socket.c;h=e0cec2c8a1ee31e65aca9d9348011bd7fb447ea9;hp=f1628cddee3111a5a001ecd515cdb65595112c87;hb=d134c4542d4e890e1c1007f32b866742319853c5;hpb=856de4c5fe8acd779aa9277d4554e34ff3625e97 diff --git a/src/net_socket.c b/src/net_socket.c index f1628cdd..e0cec2c8 100644 --- a/src/net_socket.c +++ b/src/net_socket.c @@ -17,7 +17,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - $Id: net_socket.c,v 1.1.2.16 2002/06/21 10:11:12 guus Exp $ + $Id: net_socket.c,v 1.1.2.17 2002/09/03 20:43:25 guus Exp $ */ #include "config.h" @@ -63,7 +63,6 @@ #include "process.h" #include "protocol.h" #include "subnet.h" -#include "graph.h" #include "process.h" #include "route.h" #include "device.h" @@ -147,7 +146,7 @@ cp return -1; } - if(listen(nfd, 3)) + if(listen(nfd, 0)) { close(nfd); syslog(LOG_ERR, _("System call `%s' failed: %s"), "listen", strerror(errno));