summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTodd Lyons <tlyons@exim.org>2014-10-20 07:14:42 -0700
committerTodd Lyons <tlyons@exim.org>2014-10-20 07:14:59 -0700
commited63c3090fcc1dd19ce19257553d179a02b47c7b (patch)
treefa4779e015725c5864e0dbd241a96d5d29ba9bec
parent8bc732e8b03ebb4309f4b42626917148d176db49 (diff)
Test suite: completely omit 127/8 IPs
-rwxr-xr-xtest/runtest2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/runtest b/test/runtest
index a62cd153e..bfc02eda2 100755
--- a/test/runtest
+++ b/test/runtest
@@ -2761,7 +2761,7 @@ while (($parm_ipv4 eq "" || $parm_ipv6 eq "") && ($_ = <IFCONFIG>))
$_ =~ /^\s*inet(?:\saddr)?:?\s?(\d+\.\d+\.\d+\.\d+)\s/i)
{
$ip = $1;
- next if ($ip eq "127.0.0.1");
+ next if ($ip =~ /^127\./);
$parm_ipv4 = $ip;
}