diff --git a/src/s_bsd.c b/src/s_bsd.c index 333a2afa3..c695cc6cc 100644 --- a/src/s_bsd.c +++ b/src/s_bsd.c @@ -66,6 +66,7 @@ Computing Center and Jarkko Oikarinen"; #include #include "sock.h" /* If FD_ZERO isn't define up to this point, */ #include +#include #include "proto.h" /* define it (BSD4.2 needs this) */ #include "h.h" @@ -444,7 +445,7 @@ int inetport(ConfigItem_listen *listener, char *name, int port) result = listen(listener->fd, LISTEN_SIZE); #ifdef TCP_DEFER_ACCEPT - if ((listener->flags & LISTENER_DEFER_ACCEPT) && !result) + if ((listener->options & LISTENER_DEFER_ACCEPT) && !result) { int true = 1; @@ -453,7 +454,7 @@ int inetport(ConfigItem_listen *listener, char *name, int port) #endif #ifdef SO_ACCEPTFILTER - if ((listener->flags & LISTENER_DEFER_ACCEPT) && !result) + if ((listener->options & LISTENER_DEFER_ACCEPT) && !result) { struct accept_filter_arg afa;