See below

> -----Original Message-----
> From: [email protected] [mailto:sip-
> [email protected]] On Behalf Of Iñaki Baz
> Castillo
> Sent: Monday, February 02, 2009 4:06 PM
> To: [email protected]
> Subject: [Sip-implementors] draft-ietf-sip-ipv6-abnf-fix-02 doesn't
> allow IPv4 as "1.2.3.04"
>
> Hi, accorsing to the BNF grammar in:
>   http://tools.ietf.org/html/draft-ietf-sip-ipv6-abnf-fix-02
> the following IPv4 address is not valid:
>
>   1.2.3.04
>
> This is, adding an useles "0" makes the IP invalid. While in some
> manner it
> makes sense, I wonder how useful is being so strict in this case.

[Neel]
From the above mentioned draft.

    IPv4address    =  1*3DIGIT "." 1*3DIGIT "." 1*3DIGIT "." 1*3DIGIT
It looks valid.  1*3DIGIT means, it can be from 1 digit up to 3 digits.

>
> There are many devices (i.e. SIP phones) that require filling with "0"
> when
> setting an IP via the device configuration menu (typically when
> writting it
> directly in the LCD). However, most of them drop those "0" when
> internally
> create the IP. Anyway I wonder if there could be some device forming a
> IP
> with leading "0".
>
> Thanks for any opinion.
>
> --
> Iñaki Baz Castillo
>
> _______________________________________________
> Sip-implementors mailing list
> [email protected]
> https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors

_______________________________________________
Sip-implementors mailing list
[email protected]
https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors

Reply via email to