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 d099ec309..2ef488148 100644
--- a/perl-install/network.pm
+++ b/perl-install/network.pm
@@ -222,14 +222,14 @@ sub dns {
my ($ip) = @_;
my $mask = masked_ip($ip);
my @masked = masked_ip($ip) =~ $ip_regexp;
- $masked[3] = 1;
+ $masked[3] = 2;
join (".", @masked);
}
sub gateway {
my ($ip) = @_;
my @masked = masked_ip($ip) =~ $ip_regexp;
- $masked[3] = 254;
+ $masked[3] = 1;
join (".", @masked);
}