diff options
Diffstat (limited to 'perl-install/network/netconnect.pm')
-rw-r--r-- | perl-install/network/netconnect.pm | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/perl-install/network/netconnect.pm b/perl-install/network/netconnect.pm index 5d09fe7ba..51479781c 100644 --- a/perl-install/network/netconnect.pm +++ b/perl-install/network/netconnect.pm @@ -518,11 +518,7 @@ killall pppd add2hash($ethntf, $intf->{$ntf_name}); $net_device = $netc->{NET_DEVICE}; return "lan_intf" if $type eq 'cable'; - if ($::isInstall && $net_device eq $ethntf->{DEVICE}) { - return 'lan_alrd_cfg'; - } else { - return 'lan_protocol'; - } + $::isInstall && $net_device eq $ethntf->{DEVICE} ? 'lan_alrd_cfg' : 'lan_protocol'; }, }, |