diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2004-01-20 13:27:13 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2004-01-20 13:27:13 +0000 |
commit | 05b73fbe205c294578578475fb517e96d514f7bb (patch) | |
tree | 0b71be28a9b7df6db1125c482b15fff21290e08e /perl-install/network/netconnect.pm | |
parent | 1b5b9ed35b69c8ce56942b21cd61ec8965a116fe (diff) | |
download | drakx-05b73fbe205c294578578475fb517e96d514f7bb.tar drakx-05b73fbe205c294578578475fb517e96d514f7bb.tar.gz drakx-05b73fbe205c294578578475fb517e96d514f7bb.tar.bz2 drakx-05b73fbe205c294578578475fb517e96d514f7bb.tar.xz drakx-05b73fbe205c294578578475fb517e96d514f7bb.zip |
simplify
Diffstat (limited to 'perl-install/network/netconnect.pm')
-rw-r--r-- | perl-install/network/netconnect.pm | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/perl-install/network/netconnect.pm b/perl-install/network/netconnect.pm index ca6b17c00..1973ccc1b 100644 --- a/perl-install/network/netconnect.pm +++ b/perl-install/network/netconnect.pm @@ -592,9 +592,7 @@ notation (for example, 1.2.3.4).")), $ethntf->{HWADDR} = $track_network_id or delete $ethntf->{HWADDR}; $in->do_pkgs->install($netcnx->{dhcp_client}) if $auto_ip; - - return "wireless" if is_wireless_intf($module); - return "static_hostname"; + return is_wireless_intf($module) "wireless" : "static_hostname"; }, }, |