From a608039082617ca18573995dc20c08ee577e3069 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Tue, 20 Jan 2004 12:17:47 +0000 Subject: cable is like lan but with dhcp --- perl-install/network/netconnect.pm | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'perl-install/network') 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; }, }, -- cgit v1.2.1