summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/drakvpn
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-02-17 12:02:32 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-02-17 12:02:32 +0000
commit27f651457a36da3023831e2a0197ea12435de89e (patch)
tree0bb951019e0c02a079a54687a94d9c0d028c4101 /perl-install/standalone/drakvpn
parent79fc94aebed22f3970d21cd7df38ae4bcc08cdc9 (diff)
downloaddrakx-27f651457a36da3023831e2a0197ea12435de89e.tar
drakx-27f651457a36da3023831e2a0197ea12435de89e.tar.gz
drakx-27f651457a36da3023831e2a0197ea12435de89e.tar.bz2
drakx-27f651457a36da3023831e2a0197ea12435de89e.tar.xz
drakx-27f651457a36da3023831e2a0197ea12435de89e.zip
(ask_info3) really use parameters...
Diffstat (limited to 'perl-install/standalone/drakvpn')
-rw-r--r--perl-install/standalone/drakvpn5
1 files changed, 1 insertions, 4 deletions
diff --git a/perl-install/standalone/drakvpn b/perl-install/standalone/drakvpn
index 625967c40..92c403450 100644
--- a/perl-install/standalone/drakvpn
+++ b/perl-install/standalone/drakvpn
@@ -948,10 +948,7 @@ sub ask_info2 {
sub ask_info3 {
my ($title, $text, $section) = @_;
- $in->ask_from('',
-N("Add a Security Policy.\n
-You can now add a new Security Policy.\n
-Choose continue when you are done to write the data.\n"),
+ $in->ask_from($title, $text,
[ { label => N("Command"), val => \$section->{command}, list => [ 'spdadd' ], allow_empty_list => 1 },
{ label => N("Source IP range"), val => \$section->{src_range}, type => 'entry' },
{ label => N("Destination IP range"), val => \$section->{dst_range}, type => 'entry' },