Hi Frank

> Yes, and when I wrote my Via parsing routines it struck me that this is 
> one
> of the few (maybe even the only) place where IPv6 ADDRESSES are used 
> instead
> of REFERENCES. But as Jeroen points out (in the latter link) we'd want to
> quote the reference, so we'd have ';received="[::1]"'.

Actually, I wasn't suggesting that. The '[' ']' characters would effectively 
serve as quotes, using both '"' and '[' would be superfluous (and some would 
say less preferred "[aesthetically]" speaking)

The approach of extending "gen-value" to include IPv6 addresses (gen-value 
/= IPv6address) is less appealing to me. That would cause the parser to 
accept much more than it should.

Another reason to use the '[' ']' syntax is RFC2732: 
http://www.ietf.org/rfc/rfc2732.txt. It does the same thing for much the 
same reasons

Regards,

jeroen

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

Reply via email to