diff options
author | itojun <itojun> | 2002-08-06 01:20:20 +0000 |
---|---|---|
committer | itojun <itojun> | 2002-08-06 01:20:20 +0000 |
commit | fbec84ffcd6f49b77bb655fd7be7d499807c8f3c (patch) | |
tree | 0d2638ac068217a1bb7d54c677dd59927c5f44cb /www/wwwoffle/patches | |
parent | a4c5371e4809684c4aef27f69fbeaf97db170cd6 (diff) | |
download | pkgsrc-fbec84ffcd6f49b77bb655fd7be7d499807c8f3c.tar.gz |
simply obey config file, don't do trick against :: and 0.0.0.0.
(patch sent to the author). bump PKGREVISION
Diffstat (limited to 'www/wwwoffle/patches')
-rw-r--r-- | www/wwwoffle/patches/patch-ac | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/www/wwwoffle/patches/patch-ac b/www/wwwoffle/patches/patch-ac new file mode 100644 index 00000000000..c7b185e2428 --- /dev/null +++ b/www/wwwoffle/patches/patch-ac @@ -0,0 +1,15 @@ +$NetBSD: patch-ac,v 1.4 2002/08/06 01:20:21 itojun Exp $ + +--- src/wwwoffled.c- Tue Aug 6 10:12:48 2002 ++++ src/wwwoffled.c Tue Aug 6 10:12:58 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)) |