From: Todd Lyons Date: Mon, 20 Oct 2014 14:14:42 +0000 (-0700) Subject: Test suite: completely omit 127/8 IPs X-Git-Tag: exim-4_85_RC1~41 X-Git-Url: https://git.exim.org/exim.git/commitdiff_plain/ed63c3090fcc1dd19ce19257553d179a02b47c7b?hp=8bc732e8b03ebb4309f4b42626917148d176db49 Test suite: completely omit 127/8 IPs --- 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 "") && ($_ = )) $_ =~ /^\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; }