summaryrefslogtreecommitdiffstats
path: root/perl-install/network
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-01-20 13:27:13 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-01-20 13:27:13 +0000
commit05b73fbe205c294578578475fb517e96d514f7bb (patch)
tree0b71be28a9b7df6db1125c482b15fff21290e08e /perl-install/network
parent1b5b9ed35b69c8ce56942b21cd61ec8965a116fe (diff)
downloaddrakx-05b73fbe205c294578578475fb517e96d514f7bb.tar
drakx-05b73fbe205c294578578475fb517e96d514f7bb.tar.gz
drakx-05b73fbe205c294578578475fb517e96d514f7bb.tar.bz2
drakx-05b73fbe205c294578578475fb517e96d514f7bb.tar.xz
drakx-05b73fbe205c294578578475fb517e96d514f7bb.zip
simplify
Diffstat (limited to 'perl-install/network')
-rw-r--r--perl-install/network/netconnect.pm4
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";
},
},