summaryrefslogtreecommitdiffstats
path: root/perl-install/network.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/network.pm')
-rw-r--r--perl-install/network.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/network.pm b/perl-install/network.pm
index 3f028f320..d441466e1 100644
--- a/perl-install/network.pm
+++ b/perl-install/network.pm
@@ -216,14 +216,14 @@ sub dns {
my ($ip) = @_;
my $mask = masked_ip($ip);
my @masked = masked_ip($ip) =~ $ip_regexp;
- $masked[3] = 12;
+ $masked[3] = 1;
join (".", @masked);
}
sub gateway {
my ($ip) = @_;
my @masked = masked_ip($ip) =~ $ip_regexp;
- $masked[3] = 1;
+ $masked[3] = 254;
join (".", @masked);
}