diff options
author | tron <tron> | 2004-07-07 12:38:24 +0000 |
---|---|---|
committer | tron <tron> | 2004-07-07 12:38:24 +0000 |
commit | 4b466d1418777e4f83fefe3616420b5e06283df4 (patch) | |
tree | 0d87291343e5c1747d6ed5f21c5453e374946549 /news/inn/patches | |
parent | ec55cc011911720428076bc66a30e4f11c7ea5dc (diff) | |
download | pkgsrc-4b466d1418777e4f83fefe3616420b5e06283df4.tar.gz |
Fix configuration parsing problem in "inndstart" which caused it to
ignore the "bindaddress" keyword in "inn.conf". Fix based on a patch
supplied by Bob in PR pkg/26164.
Diffstat (limited to 'news/inn/patches')
-rw-r--r-- | news/inn/patches/patch-af | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/news/inn/patches/patch-af b/news/inn/patches/patch-af new file mode 100644 index 00000000000..8e93b903740 --- /dev/null +++ b/news/inn/patches/patch-af @@ -0,0 +1,20 @@ +$NetBSD: patch-af,v 1.7 2004/07/07 12:38:25 tron Exp $ + +--- innd/inndstart.c.orig 2004-01-07 23:47:19.000000000 +0100 ++++ innd/inndstart.c 2004-07-07 14:25:19.000000000 +0200 +@@ -136,6 +136,7 @@ + if (p && strcmp(p, "all") != 0 && strcmp(p, "any") != 0) { + if (!inet_aton(p, &address)) + die("invalid bindaddress in inn.conf (%s)", p); ++ addr_specified = true; + } + #ifdef HAVE_INET6 + address6 = in6addr_any; +@@ -143,6 +144,7 @@ + if (p && strcmp(p, "all") != 0 && strcmp(p, "any") != 0) { + if (inet_pton(AF_INET6, p, &address6) < 1) + die("invalid bindaddress6 in inn.conf (%s)", p); ++ addr_specified = true; + } + #endif + |