Interesting. I've entered this as bug 740 at http://www.sipwg.org.
Yes - the representation is intended to be dotted decimal. RjS On Wed, 2003-11-05 at 07:08, Tobias SÃrensen wrote: > 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 _______________________________________________ Sip-implementors mailing list [EMAIL PROTECTED] http://lists.cs.columbia.edu/mailman/listinfo/sip-implementors
