Hi
   This is not a bug. Actually most operating systems like solaris/win32 provide
the user the provision to write off the IP addresses (dotted notation) in either
decimal , hex (0x) or octal notation and fortunately or unfortunately they use a
leading 0 to indicate a octal mean 067  means 67 in octal for the operating
system and thus when it converts this to decimal it shows 55.
So in case you want to use decimal representation just strip of the leading
zeros and it should work.

Regards
Sarika




"Shen, Eran" <[EMAIL PROTECTED]> on 04/08/2002 03:00:26 PM

To:   "'[EMAIL PROTECTED]'"
      <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
cc:    (bcc: Sarika Gupta/HSS)

Subject:  [Sip-implementors] Octal use in IP Dotted format.




Hi,

When you do:

C:\>ping 055.067.087.099
Pinging 45.55.71.81 with 32 bytes of data:

Look how the IP octets changed to octal because of the leading zeros.

Does any one of you knows a standard document that back this implementation
up?
If yes, please point me to it.

Or is it a Microsoft feature (or bug) in the address translation?

The reason I am asking is:
- Should I, or should I not trim the leading zeros before using an IP
Address?

Thanks,

Eran.
_______________________________________________
Sip-implementors mailing list
[EMAIL PROTECTED]
http://lists.cs.columbia.edu/mailman/listinfo/sip-implementors




_______________________________________________
Sip-implementors mailing list
[EMAIL PROTECTED]
http://lists.cs.columbia.edu/mailman/listinfo/sip-implementors

Reply via email to