1 2 3 4 5 6 7 8 9 10 11
--- src/s_bsd.c.orig 2015-08-16 06:44:25 UTC +++ src/s_bsd.c @@ -455,7 +455,7 @@ int inetport(aClient *cptr, char *name, */ if (cptr->fd == -1) { - cptr->fd = socket(AFINET, SOCK_STREAM, 0); + cptr->fd = socket(AFINET, SOCK_STREAM, IPPROTO_TCP); } if (cptr->fd < 0) {