Don Hackett: [BIND-BUGS #1090] [bind bug] leading zero's give bad address

Mark.Andrews at nominum.com Mark.Andrews at nominum.com
Sat Sep 2 01:18:52 UTC 2000


> i need help with this.  it seems like octal interpretation is counterintuitiv
> e
> but i thought it was the standard long before i came on the scene.  if decima
> l
> is how BSD inet_addr() classically behaved, and i broke it, then i'll change
> it to decimal.
> 
	From memory BSD 4.2 interperted leading zeros as octal.  You could
	even enter the addresses as hexadecimal.  i.e. it was bad to name
	a host deadbeef.  This was mentioned in the 4.2 documention.

	Mark
--
Mark Andrews, Nominum Inc.
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: Mark.Andrews at nominum.com



More information about the bind-workers mailing list