diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2004-03-16 14:59:54 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2004-03-16 14:59:54 +0000 |
commit | 6af0826ec8c3c8373e7cd5b9550fa1841fdd4496 (patch) | |
tree | 10a6c5b5660c52831bbdcb4ec51c8ee53e838269 /perl-install | |
parent | 7243ff106f8b7369c81fea838b10824821feb4fb (diff) | |
download | drakx-6af0826ec8c3c8373e7cd5b9550fa1841fdd4496.tar drakx-6af0826ec8c3c8373e7cd5b9550fa1841fdd4496.tar.gz drakx-6af0826ec8c3c8373e7cd5b9550fa1841fdd4496.tar.bz2 drakx-6af0826ec8c3c8373e7cd5b9550fa1841fdd4496.tar.xz drakx-6af0826ec8c3c8373e7cd5b9550fa1841fdd4496.zip |
only show encapsulation parameter for sagem modem
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/network/netconnect.pm | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/perl-install/network/netconnect.pm b/perl-install/network/netconnect.pm index 2620d3925..0ecc434af 100644 --- a/perl-install/network/netconnect.pm +++ b/perl-install/network/netconnect.pm @@ -788,9 +788,11 @@ If you don't know, choose 'use pppoe'"), { label => N("Account Password"), val => \$netcnx->{passwd}, hidden => 1 }, { label => N("Virtual Path ID (VPI):"), val => \$netc->{vpi}, advanced => 1 }, { label => N("Virtual Circuit ID (VCI):"), val => \$netc->{vci}, advanced => 1 }, - { label => N("Encapsulation :"), val => \$netc->{Encapsulation}, list => [ keys %encapsulations ], - format => sub { $encapsulations{$_[0]} }, advanced => 1, - }, + if_($ntf_name eq "sagem", + { label => N("Encapsulation :"), val => \$netc->{Encapsulation}, list => [ keys %encapsulations ], + format => sub { $encapsulations{$_[0]} }, advanced => 1, + }, + ), ], }, post => sub { |