Re: bug in addrlist_match (with IPv6 addresses)

Matthias Andree <[email protected]> Thu, 07 Aug 2003 00:13:30 +0200
Newsgroups gmane.network.xinetd
Message-ID <[email protected]>
Steve G <[email protected]> writes:

> The patch was reverted since it didn't compile on Rob's
> machine. I think the macros were not portable. Looking at
> one of the IPv6 macros:
>
> Probably the most portable way to do it is to make a macro
>
> #define IPV4_ADDR_OFFSET (a) ((__const uint32_t *) (a))[3]

One-word interjection: Ugh.

-- 
Matthias Andree