diff options
Diffstat (limited to 'src/listen.c')
-rw-r--r-- | src/listen.c | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/src/listen.c b/src/listen.c index a9624d4e7..49ff4c33e 100644 --- a/src/listen.c +++ b/src/listen.c @@ -20,6 +20,7 @@ #include "interface.h" #include "conf.h" #include "log.h" +#include "utils.h" #include <unistd.h> #include <stdio.h> @@ -42,16 +43,6 @@ int listenSocket; -#ifdef HAVE_IPV6 -int ipv6Supported() { - int s; - s = socket(AF_INET6,SOCK_STREAM,0); - if(s == -1) return 0; - close(s); - return 1; -} -#endif - int establish(unsigned short port) { int allowReuse = ALLOW_REUSE; int sock; |