INN commit: trunk/innfeed (host.c)

INN Commit Russ_Allbery at isc.org
Mon Dec 1 18:41:47 UTC 2008


    Date: Monday, December 1, 2008 @ 10:41:46
  Author: iulius
Revision: 8202

Fix a bug introduced in revision 7786.
If bindaddress6: is unset in innfeed.conf, force-ipv4: was not
taken into account.

Modified:
  trunk/innfeed/host.c

--------+
 host.c |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

Modified: host.c
===================================================================
--- host.c	2008-11-30 15:43:47 UTC (rev 8201)
+++ host.c	2008-12-01 18:41:46 UTC (rev 8202)
@@ -2739,8 +2739,9 @@
       if (p->bindAddr6)
         {
           free(p->bindAddr6);
-          p->bindAddr6 = xstrdup("none");
         }
+      /* Force bindaddress6: to "none". */
+      p->bindAddr6 = xstrdup("none");
     }
 
   if (findValue (s,"backlog-factor",inherit) == NULL &&
@@ -3806,7 +3807,7 @@
           logOrPrint (LOG_ERR,fp,
                       "ME config: no definition for required key %s",name) ;
         }
-      else if (required)
+      else
         logOrPrint (LOG_INFO,fp,
                     "ME config: adding missing key/value %s: %ld",name
                     ,setval) ;




More information about the inn-committers mailing list