From 297652ef07711118069ea8a8c1cf82d14d6e3a18 Mon Sep 17 00:00:00 2001 From: tron Date: Wed, 7 Jul 2004 12:38:24 +0000 Subject: 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. --- news/inn/distinfo | 3 ++- news/inn/patches/patch-af | 20 ++++++++++++++++++++ 2 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 news/inn/patches/patch-af (limited to 'news/inn') diff --git a/news/inn/distinfo b/news/inn/distinfo index b73b2dce498..659d4c365e1 100644 --- a/news/inn/distinfo +++ b/news/inn/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.10 2004/06/02 12:25:35 tron Exp $ +$NetBSD: distinfo,v 1.11 2004/07/07 12:38:24 tron Exp $ SHA1 (inn-2.4.1.tar.gz) = f36267eca56a643a37ed6c2903cd6fbb71e407f5 Size (inn-2.4.1.tar.gz) = 1849845 bytes @@ -7,6 +7,7 @@ SHA1 (patch-ab) = c3360248137c07c0e1750860de79aa1f372a6352 SHA1 (patch-ac) = dafbd4918eb771cf0bb49b9d2503125812fe6852 SHA1 (patch-ad) = c782b0510c460a8942bb272e18e6d8d78901d4c9 SHA1 (patch-ae) = 1177f68a567cbbf4b131548c8a1a595e3d3f29b8 +SHA1 (patch-af) = 0cfdb3c63f782dfe7120a1ae85fe86b8e0582639 SHA1 (patch-ag) = d91e1710a12d6bf39564f550947f4705b0ffd585 SHA1 (patch-ah) = 719ed7d26c23ce5170275995e4bd9e5a337199b9 SHA1 (patch-ai) = 30caac4e6b269dc7cfac507ca1f8f0fe5ac11329 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 + -- cgit v1.2.3