Charles Lepple wrote:

> Arjen, could you please take a look at this?
> 
> from 'svn blame' on server/access.c:73:
> 
>   737 adkorte-guest            return (IN6_IS_ADDR_V4MAPPED(ip6) &&
>   737 adkorte-guest                    ((((const u_int32_t *)ip6)[3]
> & prefix) == net->s_addr));
> 
> Is there a more portable way of matching the embedded IPv4 address?

Ironically, this is a portability macro defined in RFC 2553. But with a
little Google'ing around, I found out that the implementation in glibc
2.1 is broken. We'll follow the same path as the KDE, Apache and Bind
developers followed and (conditionally) override this.

Best regards, Arjen


_______________________________________________
Nut-upsuser mailing list
Nut-upsuser@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/nut-upsuser

Reply via email to