[exim-dev] [Bug 2369] New feature: single-key lookup type ba…

Etusivu
Poista viesti
Vastaa
Lähettäjä: admin
Päiväys:  
Vastaanottaja: exim-dev
Aihe: [exim-dev] [Bug 2369] New feature: single-key lookup type based on libcorkipset - https://github.com/dcreager/libcorkipset
https://bugs.exim.org/show_bug.cgi?id=2369

Ian <nobrowser@???> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Attachment #1178|0                           |1
        is obsolete|                            |


--- Comment #7 from Ian <nobrowser@???> ---
Created attachment 1180
--> https://bugs.exim.org/attachment.cgi?id=1180&action=edit
Latest corkipset update, dealing with the fscking dot vs colon problem

The situation around dots and colons in IPv6 addresses was insane already
before I started this work, and the insanity was showing in the way that
iplsearch was hardcoded as a special case. This iteration of my patch heals
the insanity by introducing a new lookup API method, host_separator() which
tells the caller what the lookup in question expects as the IPv6 separator.
When host_separator is not implemented for a lookup naturally the insane
default of '.' is assumed :-)

This iteration of the patch also makes my corkipset lookup (apart from the
existing iplsearch) implement this method, such that the find() method can
always assume IPv6 addresses in the normal, ':' separated format.

--
You are receiving this mail because:
You are on the CC list for the bug.