GetHostByAddr flag

Russ Allbery rra at stanford.edu
Mon Mar 5 02:13:02 UTC 2001


Jeffrey M Vinocur <jeff at litech.org> writes:

> Attached is a context diff that changes the compile-time constant
> DO_NNRP_GETHOSTBYADDR to a commandline flag (`nnrpd -n`).

> (My line numbers are slightly divergent, but I think the context diff will
> take care of that.)

> I didn't touch the autoconf stuff at all, although nothing horrible will
> break if it is left in.  (The constant is now completely ignored, which
> means that compiling without it will result in unexpected default
> behavior.)

> (This is definitely not well-tested, FYI.  But it compiles, and it's not
> very complicated, so...)

Thanks, this is now in.  It required a bit of tweaking due to some later
changes in the same area (I changed inet_addr to inet_aton everywhere a
while back), but nothing major.  I also took the old flag out of
acconfig.h and config.h.in.

-- 
Russ Allbery (rra at stanford.edu)             <http://www.eyrie.org/~eagle/>


More information about the inn-patches mailing list