Gitweb:
http://git.exim.org/exim.git/commitdiff/48dc547000f0d1fa0bfea4040ee6ae71b530ef63
Commit: 48dc547000f0d1fa0bfea4040ee6ae71b530ef63
Parent: 3b4f55a3467f3c0dc52711f14fb3a593daa93f36
Author: root <jgh146exb@???>
AuthorDate: Mon Apr 2 20:57:49 2012 +0100
Committer: root <jgh146exb@???>
CommitDate: Mon Apr 2 20:57:49 2012 +0100
Fix IPv6 RE
---
test/runtest | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/test/runtest b/test/runtest
index 2a8dd16..e71ee9f 100755
--- a/test/runtest
+++ b/test/runtest
@@ -560,9 +560,9 @@ RESET_AFTER_EXTRA_LINE_READ:
s/host\s\Q$parm_ipv4\E\s\[\Q$parm_ipv4\E\]/host ipv4.ipv4.ipv4.ipv4 [ipv4.ipv4.ipv4.ipv4]/;
s/host\s\Q$parm_ipv6\E\s\[\Q$parm_ipv6\E\]/host ip6:ip6:ip6:ip6:ip6:ip6:ip6:ip6 [ip6:ip6:ip6:ip6:ip6:ip6:ip6:ip6]/;
s/\b\Q$parm_ipv4\E\b/ip4.ip4.ip4.ip4/g;
- s/\b\Q$parm_ipv6\E\b/ip6:ip6:ip6:ip6:ip6:ip6:ip6:ip6/g;
+ s/(^|\W)\K\Q$parm_ipv6\E/ip6:ip6:ip6:ip6:ip6:ip6:ip6:ip6/g;
s/\b\Q$parm_ipv4r\E\b/ip4-reverse/g;
- s/\b\Q$parm_ipv6r\E\b/ip6-reverse/g;
+ s/(^|\W)\K\Q$parm_ipv6r\E/ip6-reverse/g;
s/^(\s+host\s\S+\s+\[\S+\]) +$/$1 /;