summaryrefslogtreecommitdiffstats
path: root/dhcp_wizard
diff options
context:
space:
mode:
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";
}