General discussion

Locked

"0" preceded IP Addr converted to octal

By GivatiA ·
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.

0 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Back to IT Employment Forum
0 total posts (Page 1 of 1)  

Related Discussions

Related Forums