diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2000-09-05 12:07:44 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2000-09-05 12:07:44 +0000 |
commit | 25365fea641e9e5bcec2372695c9438d099b78eb (patch) | |
tree | 245722baac92b6fa9b04ec663408d7b00ea44694 /perl-install/network.pm | |
parent | 923889728b1fbc379cd598191c0548690824b146 (diff) | |
download | drakx-25365fea641e9e5bcec2372695c9438d099b78eb.tar drakx-25365fea641e9e5bcec2372695c9438d099b78eb.tar.gz drakx-25365fea641e9e5bcec2372695c9438d099b78eb.tar.bz2 drakx-25365fea641e9e5bcec2372695c9438d099b78eb.tar.xz drakx-25365fea641e9e5bcec2372695c9438d099b78eb.zip |
no_comment
Diffstat (limited to 'perl-install/network.pm')
-rw-r--r-- | perl-install/network.pm | 4 |
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); } |