Most IP stacks are converting IP addreses with preceding zeros to octal numbers instead of decimal. e.g. >ping 10.10.10.010 will ping to 10.10.10.8 (because 010 is translated to octal representation). Does anyone know WHY does all IP stacks perform this conversion? Is it backed by a standard? Which ? This phenomenom is observed in ping / telnet and other IP apps, in Windows / Unix / VxWorks etc...
This conversation is currently closed to new comments.
If you're asking for technical help, please be sure to include all your system info, including operating system, model number, and any other specifics related to the problem. Also please exercise your best judgment when posting in the forums--revealing personal information such as your e-mail address, telephone number, and address is not recommended.
"0" preceded IP Addr converted to octal
e.g.
>ping 10.10.10.010
will ping to 10.10.10.8 (because 010 is translated to octal representation).
Does anyone know WHY does all IP stacks perform this conversion?
Is it backed by a standard?
Which ?
This phenomenom is observed in ping / telnet and other IP apps, in Windows / Unix / VxWorks etc...