summaryrefslogtreecommitdiff
path: root/www/wwwoffle/patches/patch-ac
blob: f85b5f9229aca2d49bcc197f943bcdadf7644cda (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
$NetBSD: patch-ac,v 1.5 2002/08/06 01:58:35 itojun Exp $

--- src/wwwoffled.c.orig	Sun Jun 23 20:02:35 2002
+++ src/wwwoffled.c	Tue Aug  6 10:53:39 2002
@@ -292,10 +292,6 @@
 #endif
 
 #if USE_IPV6
- if(http_fd[1]!=-1 && ConfigString(Bind_IPv4) && ConfigString(Bind_IPv6) &&
-    !strcmp(ConfigString(Bind_IPv6),"0:0:0:0:0:0:0:0") && !strcmp(ConfigString(Bind_IPv4),"0.0.0.0"))
-    PrintMessage(Inform,"Not creating HTTP IPv4 server socket on all addresses since IPv6 one is bound to all addresses.");
- else
    {
 #endif
     if(ConfigString(Bind_IPv4))
@@ -336,10 +332,6 @@
 #endif
 
 #if USE_IPV6
- if(wwwoffle_fd[1]!=-1 && ConfigString(Bind_IPv4) && ConfigString(Bind_IPv6) &&
-    !strcmp(ConfigString(Bind_IPv6),"0:0:0:0:0:0:0:0") && !strcmp(ConfigString(Bind_IPv4),"0.0.0.0"))
-    PrintMessage(Inform,"Not creating WWWOFFLE IPv4 server socket on all addresses since IPv6 one is bound to all addresses.");
- else
    {
 #endif
     if(ConfigString(Bind_IPv4))