Discussion Locked

"0" preceded IP Addr converted to octal

0 helpful
0 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

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...

0 replies

No replies were posted before this discussion closed.

This discussion is closed to new replies.