summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/drakvpn
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-02-16 17:38:11 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-02-16 17:38:11 +0000
commitdbe0435426831d5e5f7b16f48d0ad0234aad32cb (patch)
tree6e5ac60289c82f89d6dcb4c8fd48ecad285b5d5e /perl-install/standalone/drakvpn
parentf7689213d0e538fe2edb2565c4bce7756ceb7dbb (diff)
downloaddrakx-dbe0435426831d5e5f7b16f48d0ad0234aad32cb.tar
drakx-dbe0435426831d5e5f7b16f48d0ad0234aad32cb.tar.gz
drakx-dbe0435426831d5e5f7b16f48d0ad0234aad32cb.tar.bz2
drakx-dbe0435426831d5e5f7b16f48d0ad0234aad32cb.tar.xz
drakx-dbe0435426831d5e5f7b16f48d0ad0234aad32cb.zip
PFS group only accept 3 distinct values
Diffstat (limited to 'perl-install/standalone/drakvpn')
-rw-r--r--perl-install/standalone/drakvpn6
1 files changed, 4 insertions, 2 deletions
diff --git a/perl-install/standalone/drakvpn b/perl-install/standalone/drakvpn
index 23b2c0037..67dceaaa5 100644
--- a/perl-install/standalone/drakvpn
+++ b/perl-install/standalone/drakvpn
@@ -852,7 +852,8 @@ Choose continue or previous when you are done.\n", $racoon_conf),
{ label => N("sainfo_source_proto"), val => \$sainfo_section->{1}[3], type => 'entry' },
{ label => N("sainfo_dest_address"), val => \$sainfo_section->{1}[5], type => 'entry' },
{ label => N("sainfo_dest_proto"), val => \$sainfo_section->{1}[6], type => 'entry' },
- { label => N("PFS group"), val => \$sainfo_section->{2}[1], type => 'entry' },
+ { label => N("PFS group"), val => \$sainfo_section->{2}[1],
+ list => [ qw(modp768 modp1024 modp1536) ], },
{ label => N("Lifetime number"), val => \$sainfo_section->{3}[2], type => 'entry' },
{ label => N("Lifetime unit"), val => \$sainfo_section->{3}[3], type => 'entry' },
{ label => N("Encryption algorithm"), val => \$sainfo_section->{4}[1], type => 'entry' },
@@ -916,7 +917,8 @@ Choose continue when you are done to write the data.\n", $racoon_conf),
{ label => N("sainfo_source_proto"), val => \$racoon->{$number}{1}[3], type => 'entry' },
{ label => N("sainfo_dest_address"), val => \$racoon->{$number}{1}[5], type => 'entry' },
{ label => N("sainfo_dest_proto"), val => \$racoon->{$number}{1}[6], type => 'entry' },
- { label => N("PFS group"), val => \$racoon->{$number}{2}[1], type => 'entry' },
+ { label => N("PFS group"), val => \$racoon->{$number}{2}[1],
+ list => [ qw(modp768 modp1024 modp1536) ], },
{ label => N("Lifetime number"), val => \$racoon->{$number}{3}[2], type => 'entry' },
{ label => N("Lifetime unit"), val => \$racoon->{$number}{3}[3], type => 'entry' },
{ label => N("Encryption algorithm"), val => \$racoon->{$number}{4}[1], type => 'entry' },