diff options
author | itojun <itojun@pkgsrc.org> | 2002-08-06 01:20:20 +0000 |
---|---|---|
committer | itojun <itojun@pkgsrc.org> | 2002-08-06 01:20:20 +0000 |
commit | a5a3ead2a0e387633c4f2f95c1017e04fcedb1f1 (patch) | |
tree | 0d2638ac068217a1bb7d54c677dd59927c5f44cb /www/wwwoffle/patches | |
parent | 117b0470731d3b1b76a3cf1f073e42d893d5c8ae (diff) | |
download | pkgsrc-a5a3ead2a0e387633c4f2f95c1017e04fcedb1f1.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)) |