summaryrefslogtreecommitdiffstats
path: root/perl-install/network/network.pm
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2003-09-22 13:39:06 +0000
committerFrancois Pons <fpons@mandriva.com>2003-09-22 13:39:06 +0000
commit5bb168bf9882ba6aedc15604c1f76175b1d71ef1 (patch)
tree9b750dc2e4bbcefdcb113eb61eb72421bd536b0d /perl-install/network/network.pm
parentca2411e3672fd7fe1e1fa72579970efb35296498 (diff)
downloaddrakx-backup-do-not-use-5bb168bf9882ba6aedc15604c1f76175b1d71ef1.tar
drakx-backup-do-not-use-5bb168bf9882ba6aedc15604c1f76175b1d71ef1.tar.gz
drakx-backup-do-not-use-5bb168bf9882ba6aedc15604c1f76175b1d71ef1.tar.bz2
drakx-backup-do-not-use-5bb168bf9882ba6aedc15604c1f76175b1d71ef1.tar.xz
drakx-backup-do-not-use-5bb168bf9882ba6aedc15604c1f76175b1d71ef1.zip
simplified perl writing, make sure bool2yesno has a chance to be called for MII_NOT_SUPPORTED
Diffstat (limited to 'perl-install/network/network.pm')
-rw-r--r--perl-install/network/network.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/network/network.pm b/perl-install/network/network.pm
index 91eb28ea9..958690635 100644
--- a/perl-install/network/network.pm
+++ b/perl-install/network/network.pm
@@ -402,7 +402,7 @@ notation (for example, 1.2.3.4).");
) or return;
$intf->{ONBOOT} = bool2yesno($onboot);
$intf->{NEEDHOSTNAME} = bool2yesno($needhostname);
- $intf->{MII_NOT_SUPPORTED} = !$hotplug && bool2yesno(!$hotplug) or delete $intf->{MII_NOT_SUPPORTED};
+ $intf->{MII_NOT_SUPPORTED} = bool2yesno(!$hotplug);
$intf->{HWADDR} = $track_network_id or delete $intf->{HWADDR};
1;
}