On Mon, Nov 08, 2010 at 03:13:45PM -0500, Wietse Venema wrote:
> Postfix CIDR support uses standard system library routines such as
> inet_pton().  I am reluctant to re-invent Postfix-specific versions.
> Maybe there is some other library that does not barf on this?

The only parts of the glibc using this scope syntax are
getaddrinfo/getnameinfo. This two functions are contrary according to
the documentation and works on struct sockaddr. inet_pton however does
not fit in this and only works on the sin6_addr member of the structure.

The sin6_scope_id field is documented in RFC 3493. The scoped addresses
are specified in RFC 4007.

Bastian

-- 
Lots of people drink from the wrong bottle sometimes.
                -- Edith Keeler, "The City on the Edge of Forever",
                   stardate unknown

Reply via email to