[sr-dev] IPv4 and IPv6 binary comparison

Iñaki Baz Castillo ibc at aliax.net
Thu Apr 28 15:50:45 CEST 2011


2011/4/28 Iñaki Baz Castillo <ibc at aliax.net>:
> 2011/4/28 Klaus Darilion <klaus.mailinglists at pernau.at>:
>> but it works. E.g
>>
>> INVITE sip:0900123455 at 1.2.3.004
>
> Right. In RFC 3261 that is a valid IPv4, but RFC 5954 updates RFC 3261
> BNF grammar.

Just to give more information, inet_pton() function (in arpa/inet.h)
does NOT allow "1.2.3.004" as valid IPv4.

-- 
Iñaki Baz Castillo
<ibc at aliax.net>



More information about the sr-dev mailing list