Test suite: completely omit 127/8 IPs
authorTodd Lyons <tlyons@exim.org>
Mon, 20 Oct 2014 14:14:42 +0000 (07:14 -0700)
committerTodd Lyons <tlyons@exim.org>
Mon, 20 Oct 2014 14:14:59 +0000 (07:14 -0700)
test/runtest

index a62cd153e84980d0e10c7e3d7f58debe67d41fb8..bfc02eda28e2176b9c24d3585556d673ee599a9a 100755 (executable)
@@ -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;
     }