summaryrefslogtreecommitdiffstats
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
parentf7689213d0e538fe2edb2565c4bce7756ceb7dbb (diff)
downloaddrakx-backup-do-not-use-dbe0435426831d5e5f7b16f48d0ad0234aad32cb.tar
drakx-backup-do-not-use-dbe0435426831d5e5f7b16f48d0ad0234aad32cb.tar.gz
drakx-backup-do-not-use-dbe0435426831d5e5f7b16f48d0ad0234aad32cb.tar.bz2
drakx-backup-do-not-use-dbe0435426831d5e5f7b16f48d0ad0234aad32cb.tar.xz
drakx-backup-do-not-use-dbe0435426831d5e5f7b16f48d0ad0234aad32cb.zip
PFS group only accept 3 distinct values
-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' },