From 62c95620e87768fb8063fbc6e7a013ac5f9a6be9 Mon Sep 17 00:00:00 2001 From: Victor Seva Date: Tue, 1 Apr 2014 12:36:39 +0200 Subject: [PATCH] MT#6499 bin/config_debug.pl: more flexible localhost match --- bin/config_debug.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/config_debug.pl b/bin/config_debug.pl index 41c10aca..a50ab15a 100755 --- a/bin/config_debug.pl +++ b/bin/config_debug.pl @@ -99,7 +99,7 @@ else tie @array, 'Tie::File', '/etc/hosts' or die ('Can set test domain on /etc/hosts'); for (@array) { - s/127.0.0.1 localhost/127.0.0.1 localhost $domain/; + s/127.0.0.1[ \t]+localhost/127.0.0.1 localhost $domain/; } untie @array; for my $i ('caller.csv', 'callee.csv')