Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Oct 2005 23:58:36 +1000
From:      Mark Andrews <Mark_Andrews@isc.org>
To:        Jan Grant <Jan.Grant@bristol.ac.uk>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: Resolver doesn't like 1.2.3.04 in /etc/hosts 
Message-ID:  <200510261358.j9QDwaBb097354@drugs.dv.isc.org>
In-Reply-To: Your message of "Wed, 26 Oct 2005 14:49:01 %2B0100." <Pine.GSO.4.62.0510261446330.1375@mail.ilrt.bris.ac.uk> 

next in thread | previous in thread | raw e-mail | index | archive | help

> 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@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"
--
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: Mark_Andrews@isc.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200510261358.j9QDwaBb097354>