summaryrefslogtreecommitdiffstats
path: root/web_wizard/Apache.pm
diff options
context:
space:
mode:
Diffstat (limited to 'web_wizard/Apache.pm')
-rwxr-xr-xweb_wizard/Apache.pm3
1 files changed, 1 insertions, 2 deletions
diff --git a/web_wizard/Apache.pm b/web_wizard/Apache.pm
index 8fea5014..79395930 100755
--- a/web_wizard/Apache.pm
+++ b/web_wizard/Apache.pm
@@ -258,8 +258,7 @@ sub do_it {
my $that = "localhost";
if ($o->{var}{web_external} eq "1") {
$that = "all";
- }
- elsif ($o->{var}{web_internal} eq "1") {
+ } elsif ($o->{var}{web_internal} eq "1") {
($that) = $wiz->{net}->itf_get("IPADDR") =~ /^(\d{1,3}\.\d{1,3}\.\d{1,3}\.)\d{1,3}$/;
$that .= " 127.0.0.1";
}