summaryrefslogtreecommitdiff
path: root/scripts/vpn-config.pl
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/vpn-config.pl')
-rwxr-xr-xscripts/vpn-config.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/vpn-config.pl b/scripts/vpn-config.pl
index 4267564..6a9063f 100755
--- a/scripts/vpn-config.pl
+++ b/scripts/vpn-config.pl
@@ -817,7 +817,7 @@ if ($vcVPN->exists('ipsec')) {
# Allow the user for force UDP encapsulation for the ESP
# payload.
#
- my $forceencaps = $vcVPN->returnValue("ipsec site-to-site $peer force-encapsulation");
+ my $forceencaps = $vcVPN->returnValue("ipsec site-to-site peer $peer force-encapsulation");
if (defined($forceencaps)) {
if ($forceencaps eq 'enable') {
$genout .= "\tforceencaps=yes\n";