summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install')
-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;
}