ai_flags in BSD/OS
The Doctor
doctor at doctor.nl2k.ab.ca
Fri Jan 30 23:47:58 UTC 2009
On Fri, Jan 30, 2009 at 04:35:09PM -0700, The Doctor wrote:
> On Fri, Jan 30, 2009 at 01:52:27PM -0800, Russ Allbery wrote:
> > Julien ÉLIE <julien at trigofacile.com> writes:
> >
> > > The problem The Doctor has with innfeed (which cannnot send any
> > > articles) is written in his logs:
> > >
> > > Jan 30 11:44:48 gallifrey julien[732]: innfeed[16329]: ME starting at Fri Jan 30 11:44:48 2009\n (INN 2.5.0 (20090130 snapshot))
> > > Jan 30 11:44:48 gallifrey julien[732]: innfeed[16329]: loading /usr/home/julien/inn/install2.5/etc/innfeed.conf
> > > Jan 30 11:44:51 gallifrey julien[732]: innfeed[16329]: test can't resolve hostname news.trigofacile.com: Invalid value for ai_flags
> > > Jan 30 11:44:51 gallifrey julien[732]: innfeed[16329]: test spooling no active connections
> > >
> > > In innfeed/host.c, we have:
> > > hints.ai_flags = AI_NUMERICSERV | AI_ADDRCONFIG;
> > >
> > > What should be used?
> >
> > > AI_NUMERICSERV seems not to be defined in netdb.h (thus set to 0 by a
> > > #ifndef). AI_ADDRCONFIG is defined.
> >
> > Does it work if you omit AI_ADDRCONFIG? The purpose of that flag is to
> > restrict the interfaces to ones that are configured in the kernel (thus
> > avoiding the attempt to create an IPv6 interface when none exists). If
> > that flag is defined but doesn't work on BSD/OS, we may need to probe in
> > configure for whether it actually works.
> >
>
> Everything in INN 2.4.X is working .
>
> What cahnged in 2.5.X to break this?
>
> > --
> > Russ Allbery (rra at stanford.edu) <http://www.eyrie.org/~eagle/>
> >
> > Please send questions to the list rather than mailing me directly.
> > <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
> > _______________________________________________
> > inn-workers mailing list
> > inn-workers at lists.isc.org
> > https://lists.isc.org/mailman/listinfo/inn-workers
> >
> > --
> > This message has been scanned for viruses and
> > dangerous content by MailScanner, and is
> > believed to be clean.
> >
>
> --
> Member - Liberal International
> This is doctor at nl2k.ab.ca Ici doctor at nl2k.ab.ca
> God, Queen and country! Beware Anti-Christ rising!
> Birthdate: 29 Jan 1969 Redhill Surrey England
>
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
>
> _______________________________________________
> inn-workers mailing list
> inn-workers at lists.isc.org
> https://lists.isc.org/mailman/listinfo/inn-workers
in case you mates need a FreeBSD 6.X to test ,
I have also available.
--
Member - Liberal International
This is doctor at nl2k.ab.ca Ici doctor at nl2k.ab.ca
God, Queen and country! Beware Anti-Christ rising!
Birthdate: 29 Jan 1969 Redhill Surrey England
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
More information about the inn-workers
mailing list