diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2004-12-17 13:55:45 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2004-12-17 13:55:45 +0000 |
commit | bf6e2612b1706d1c05b83fb02806bea055a1cb92 (patch) | |
tree | 1966c6c06b571432c91541926c7a421e471d7a9f /perl-install/network/netconnect.pm | |
parent | 16c10afe55319f57f8411ff19476db4132698fff (diff) | |
download | drakx-bf6e2612b1706d1c05b83fb02806bea055a1cb92.tar drakx-bf6e2612b1706d1c05b83fb02806bea055a1cb92.tar.gz drakx-bf6e2612b1706d1c05b83fb02806bea055a1cb92.tar.bz2 drakx-bf6e2612b1706d1c05b83fb02806bea055a1cb92.tar.xz drakx-bf6e2612b1706d1c05b83fb02806bea055a1cb92.zip |
fix NETMASK autofilling
Diffstat (limited to 'perl-install/network/netconnect.pm')
-rw-r--r-- | perl-install/network/netconnect.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/network/netconnect.pm b/perl-install/network/netconnect.pm index c5a2a3a12..2adb960fd 100644 --- a/perl-install/network/netconnect.pm +++ b/perl-install/network/netconnect.pm @@ -1010,7 +1010,7 @@ notation (for example, 1.2.3.4).")), } }, focus_out => sub { - $ethntf->{NETMASK} ||= netmask($ethntf->{IPADDR}) unless $_[0]; + $ethntf->{NETMASK} ||= netmask($ethntf->{IPADDR}) unless $ethntf->{NETMASK}; }, post => sub { $ethntf->{ONBOOT} = bool2yesno($onboot); |