[exim-cvs] Docs: Add note on lsearch for IPv4-mapped IPv6 ad…

Top Page
Delete this message
Reply to this message
Author: Exim Git Commits Mailing List
Date:  
To: exim-cvs
Subject: [exim-cvs] Docs: Add note on lsearch for IPv4-mapped IPv6 addresses
Gitweb: https://git.exim.org/exim.git/commitdiff/c77d3d85fe96486e8e9b42a287c541193d87ed5d
Commit:     c77d3d85fe96486e8e9b42a287c541193d87ed5d
Parent:     52af44332434a2a34ae30f3d0ac3b549d512e4cc
Author:     Jeremy Harris <jgh146exb@???>
AuthorDate: Tue Feb 26 20:18:51 2019 +0000
Committer:  Jeremy Harris <jgh146exb@???>
CommitDate: Tue Feb 26 20:18:51 2019 +0000


    Docs: Add note on lsearch for IPv4-mapped IPv6 addresses
---
 doc/doc-docbook/spec.xfpt | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)


diff --git a/doc/doc-docbook/spec.xfpt b/doc/doc-docbook/spec.xfpt
index 834f210..c21bc0d 100644
--- a/doc/doc-docbook/spec.xfpt
+++ b/doc/doc-docbook/spec.xfpt
@@ -8683,8 +8683,12 @@ to quote keys was made available in &(lsearch)& files. However, the more
recently implemented &(iplsearch)& files do require colons in IPv6 keys
(notated using the quoting facility) so as to distinguish them from IPv4 keys.
For this reason, when the lookup type is &(iplsearch)&, IPv6 addresses are
-converted using colons and not dots. In all cases, full, unabbreviated IPv6
+converted using colons and not dots.
+.new
+In all cases except IPv4-mapped IPv6, full, unabbreviated IPv6
addresses are always used.
+The latter are converted to IPv4 addresses, in dotted-quad form.
+.wen

Ideally, it would be nice to tidy up this anomalous situation by changing to
colons in all cases, given that quoting is now available for &(lsearch)&.