diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2004-01-20 12:17:47 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2004-01-20 12:17:47 +0000 |
commit | a608039082617ca18573995dc20c08ee577e3069 (patch) | |
tree | 676fafb9b323a74894ce66ce3660743aeb87b648 /perl-install | |
parent | 8d53eeac658e63e641b53ccffe33bc58ff9af55c (diff) | |
download | drakx-a608039082617ca18573995dc20c08ee577e3069.tar drakx-a608039082617ca18573995dc20c08ee577e3069.tar.gz drakx-a608039082617ca18573995dc20c08ee577e3069.tar.bz2 drakx-a608039082617ca18573995dc20c08ee577e3069.tar.xz drakx-a608039082617ca18573995dc20c08ee577e3069.zip |
cable is like lan but with dhcp
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/network/netconnect.pm | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/perl-install/network/netconnect.pm b/perl-install/network/netconnect.pm index 22df45e33..42ebf7cdc 100644 --- a/perl-install/network/netconnect.pm +++ b/perl-install/network/netconnect.pm @@ -220,7 +220,12 @@ If you don't want to use the auto detection, deselect the checkbox. post => sub { load_conf($netcnx, $netc, $intf) if $::isInstall; # :-( get_subwizard($wiz, 'adsl') if $connections{$cnx_type} eq 'adsl'; - return $type = $netcnx->{type} = $connections{$cnx_type}; + $type = $netcnx->{type} = $connections{$cnx_type}; + if ($type eq 'cable') { + $auto_ip = 1; + return "lan"; + } + return $type; }, }, |