diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2000-01-03 17:30:17 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2000-01-03 17:30:17 +0000 |
commit | 9680a74c3cb9605cc8b5235fc7e82af5f48117e6 (patch) | |
tree | 3fdd619690c8a7dae5a209867e18b90bb9156d1a /perl-install/network.pm | |
parent | 530019effd566e71f900dde5cff3ee53c408b8a1 (diff) | |
download | drakx-backup-do-not-use-9680a74c3cb9605cc8b5235fc7e82af5f48117e6.tar drakx-backup-do-not-use-9680a74c3cb9605cc8b5235fc7e82af5f48117e6.tar.gz drakx-backup-do-not-use-9680a74c3cb9605cc8b5235fc7e82af5f48117e6.tar.bz2 drakx-backup-do-not-use-9680a74c3cb9605cc8b5235fc7e82af5f48117e6.tar.xz drakx-backup-do-not-use-9680a74c3cb9605cc8b5235fc7e82af5f48117e6.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 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); } |