summaryrefslogtreecommitdiffstats
path: root/dhcp_wizard
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-10-18 20:50:49 +0000
committerThierry Vignaud <tv@mageia.org>2012-10-18 20:50:49 +0000
commitca117033f0bb9b7fb9317ec4af7850a8ad95e478 (patch)
tree9141e0277d7554ca382a5734422efb2e4593177b /dhcp_wizard
parent28275fce0361a2b721951131ef4a07f0ac0d22af (diff)
downloaddrakwizard-ca117033f0bb9b7fb9317ec4af7850a8ad95e478.tar
drakwizard-ca117033f0bb9b7fb9317ec4af7850a8ad95e478.tar.gz
drakwizard-ca117033f0bb9b7fb9317ec4af7850a8ad95e478.tar.bz2
drakwizard-ca117033f0bb9b7fb9317ec4af7850a8ad95e478.tar.xz
drakwizard-ca117033f0bb9b7fb9317ec4af7850a8ad95e478.zip
(compute_range,compute_range2) reindent
Diffstat (limited to 'dhcp_wizard')
-rwxr-xr-xdhcp_wizard/Dhcp.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/dhcp_wizard/Dhcp.pm b/dhcp_wizard/Dhcp.pm
index 04de9634..389f0750 100755
--- a/dhcp_wizard/Dhcp.pm
+++ b/dhcp_wizard/Dhcp.pm
@@ -140,13 +140,13 @@ $o->{pages} = {
sub compute_range {
- my ($d, $s) = @_;
+ my ($d, $s) = @_;
my $n = $d <= 64 ? "65" : $d <= 128 ? "129" : "1";
"$s.$n";
}
sub compute_range2 {
- my ($d, $s) = @_;
+ my ($d, $s) = @_;
my $n = $d <= 128 ? "254" : $d > 192 ? "192" : "128";
"$s.$n";
}