Hi!

I've encountered a problem with how to interpret a client sending a 
contact header containing an ip with a leading 0 in one of the positions 
(ie. 172.020.10.10). On many Unices (all?) the leading 0 in dotted 
notation implies octal.

The augmented BNF defines IPv4address as:

IPv4address    =  1*3DIGIT "." 1*3DIGIT "." 1*3DIGIT "." 1*3DIGIT

So a leading 0 is ok, but it's impossible to fit in all ip addresses in 
octal form in 3 digits. Am I to assume that the recieved IPv4address is in 
dotted decimal form (and 0-255)?

Thanks,
  Tobias S�rensen



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

Reply via email to