summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/network/netconnect.pm8
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 {