Reply to post: Re: Compatibility

OK, this time it's for real: The last available IPv4 address block has gone

Alan Brown Silver badge

Re: Compatibility

"Computationally, strcmp is, and always has been, the wrong way to do this. What if I decide to throw some leading zeroes into an octet, i.e. 010 instead of 10?"

If you use Vixie BIND (which is what 99% of the planet uses) then it decides you're using octal and what you think is 10 is now 8

And if you complain, all the cheerleaders will come out of the woodwork and tell you that's how it's supposed to work.

And if you point out that the RFC says that all octets are always decimal, and the software is supposed to be RFC compliant, so either the software or the RFC needs changing, they'll mailbomb you.

Excuse me for being bitter, but that's what happened when I threw a leading zero into my octet.

POST COMMENT House rules

Not a member of The Register? Create a new account here.

  • Enter your comment

  • Add an icon

Anonymous cowards cannot choose their icon


Biting the hand that feeds IT © 1998–2020