Re: [exim-dev] Bug 2369: single-key lookup type based on li…

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Jeremy Harris
Data:  
Para: exim-dev
Asunto: Re: [exim-dev] Bug 2369: single-key lookup type based on libcorkipset
On 10/02/2019 22:42, Ian Zimmerman via Exim-dev wrote:
> Turns out the underlying library wants IPv6 addresses colon separated;
> but in contexts where a host address is being tested for list
> membership, exim passes it to the lookup as dot-separated. This is of
> course documented in the Spec, section 10.12.
>
> Since IP addresses are the only things worth testing by this lookup,
> maybe I should internally translate them from dot to colon, before I
> pass them to libcork?


If you can reliably detect the ipv6-ness, yes, that sounds like the
minimally intrusive way.
--
Cheers,
Jeremy