summaryrefslogtreecommitdiffstats
path: root/lib/network/vpn
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2008-04-02 22:28:28 +0000
committerOlivier Blin <oblin@mandriva.com>2008-04-02 22:28:28 +0000
commitb2b5b3a4873af6a85873e5ed0361bd8099a4de0d (patch)
tree9c93830cbfff926cd28120ba33d1ecc9e7d52702 /lib/network/vpn
parentced31ea4d1439b1c862ead8426ea4a090bb495ac (diff)
downloaddrakx-net-b2b5b3a4873af6a85873e5ed0361bd8099a4de0d.tar
drakx-net-b2b5b3a4873af6a85873e5ed0361bd8099a4de0d.tar.gz
drakx-net-b2b5b3a4873af6a85873e5ed0361bd8099a4de0d.tar.bz2
drakx-net-b2b5b3a4873af6a85873e5ed0361bd8099a4de0d.tar.xz
drakx-net-b2b5b3a4873af6a85873e5ed0361bd8099a4de0d.zip
use new advanced vpnc UDP options (mostly from Lonny, #35007)
Diffstat (limited to 'lib/network/vpn')
-rw-r--r--lib/network/vpn/vpnc.pm8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/network/vpn/vpnc.pm b/lib/network/vpn/vpnc.pm
index f0c8369..c7a87c7 100644
--- a/lib/network/vpn/vpnc.pm
+++ b/lib/network/vpn/vpnc.pm
@@ -57,13 +57,13 @@ sub list_fields {
val => \$connection->{password},
hidden => 1,
},
- 'UDP Encapsulate' => {
- text => N("Use Cisco-UDP encapsulation"),
- type => 'bool',
+ 'NAT Traversal Mode' => {
+ label => N("NAT Mode"),
+ list => [ '', qw(natt none force-natt cisco-udp) ],
val => \$connection->{udp},
advanced => 1,
},
- 'UDP Encapsulation Port' => {
+ 'Cisco UDP Encapsulation Port' => {
label => N("Use specific UDP port"),
val => \$connection->{udp_port},
advanced => 1,