summaryrefslogtreecommitdiffstats
path: root/web_wizard
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-10-18 20:50:46 +0000
committerThierry Vignaud <tv@mageia.org>2012-10-18 20:50:46 +0000
commitb9626dc4aaf5dfce1b8cf01dee5facb4b5791df8 (patch)
tree52e617ab3c7e8667df5af4fa2864c4d0b3ad594a /web_wizard
parent9e1b1f92fd64c8a148d523a0bdeb675b596b4d33 (diff)
downloaddrakwizard-b9626dc4aaf5dfce1b8cf01dee5facb4b5791df8.tar
drakwizard-b9626dc4aaf5dfce1b8cf01dee5facb4b5791df8.tar.gz
drakwizard-b9626dc4aaf5dfce1b8cf01dee5facb4b5791df8.tar.bz2
drakwizard-b9626dc4aaf5dfce1b8cf01dee5facb4b5791df8.tar.xz
drakwizard-b9626dc4aaf5dfce1b8cf01dee5facb4b5791df8.zip
style: '}' just before 'else/elsif'
Diffstat (limited to 'web_wizard')
-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";
}