Resolver doesn't like 1.2.3.04 in /etc/hosts

Mark Andrews Mark_Andrews at isc.org
Wed Oct 26 06:58:43 PDT 2005


> I don't know whether this is worth filing a PR for, but it seems the 
> resolver no longer likes leading zeroes in an IP4 address in /etc/hosts.
> The change (in 5- ) appeared sometime in the last month or two.
> 
> Personally I'm inclined to view this as a regression although it's 
> simple enough to work around.

	Leading zeros are ambigious.  Some platforms treat them as octal
	others treat them as decimal.

	Mark

> Cheers,
> jan
> 
> -- 
> jan grant, ILRT, University of Bristol. http://www.ilrt.bris.ac.uk/
> Tel +44 (0)117 3317661   http://ioctl.org/jan/
> Unfortunately, I have a very good idea how fast my keys are moving.
> _______________________________________________
> freebsd-stable at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscribe at freebsd.org"
--
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: Mark_Andrews at isc.org


More information about the freebsd-stable mailing list