summaryrefslogtreecommitdiff
path: root/test/runtest
diff options
context:
space:
mode:
authorTodd Lyons <tlyons@exim.org>2012-06-04 06:05:29 -0700
committerTodd Lyons <tlyons@exim.org>2012-06-04 06:05:29 -0700
commitd37842ebe0e150119c4d54b7520d09f35c8c571d (patch)
treea73afc4fbb902cca2666eb1786a5fddee07719fa /test/runtest
parent1f26e59e475e787dc76477e2028d7eac7daa9d54 (diff)
Test system - parse ipv6 addresses with no :: in them.
Diffstat (limited to 'test/runtest')
-rwxr-xr-xtest/runtest2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/runtest b/test/runtest
index aa242d589..b88e71e60 100755
--- a/test/runtest
+++ b/test/runtest
@@ -3104,6 +3104,8 @@ if ($have_ipv6 && $parm_ipv6 ne "::1")
$exp_v6 = $1 . ':0' x (8-length($exp_v6)) . ':' . $2;
} elsif ( $parm_ipv6 =~ /^::(.+[^:])$/ ) {
$exp_v6 = '0:' x (9-length($exp_v6)) . $1;
+ } else {
+ $exp_v6 = $parm_ipv6;
}
my(@components) = split /:/, $exp_v6;
my(@nibbles) = reverse (split /\s*/, shift @components);