mirror of
https://git.freebsd.org/ports.git
synced 2025-05-18 18:13:12 -04:00
Don't install as root:wheel/0700. PR: 204021 Submitted by: loox e-shell net Sponsored by: Absolight
11 lines
284 B
C
11 lines
284 B
C
--- 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)
|
|
{
|