$NetBSD: patch-af,v 1.8 2004/07/24 23:55:28 grant Exp $

--- innd/inndstart.c.orig	2004-01-08 09:47:19.000000000 +1100
+++ innd/inndstart.c
@@ -136,6 +136,7 @@ main(int argc, char *argv[])
     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 @@ main(int argc, char *argv[])
     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
 
