summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-12-17 13:55:45 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-12-17 13:55:45 +0000
commitbf6e2612b1706d1c05b83fb02806bea055a1cb92 (patch)
tree1966c6c06b571432c91541926c7a421e471d7a9f
parent16c10afe55319f57f8411ff19476db4132698fff (diff)
downloaddrakx-bf6e2612b1706d1c05b83fb02806bea055a1cb92.tar
drakx-bf6e2612b1706d1c05b83fb02806bea055a1cb92.tar.gz
drakx-bf6e2612b1706d1c05b83fb02806bea055a1cb92.tar.bz2
drakx-bf6e2612b1706d1c05b83fb02806bea055a1cb92.tar.xz
drakx-bf6e2612b1706d1c05b83fb02806bea055a1cb92.zip
fix NETMASK autofilling
-rw-r--r--perl-install/network/netconnect.pm2
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);