summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2019-01-11 15:15:42 +0100
committerDaniil Baturin <daniil@baturin.org>2019-01-11 15:15:42 +0100
commit12996340fe2a1e15613bb047d2f649f6205688ad (patch)
treebbdc46ec9557a87b16e66ae6eb961190dbe3fc07
parentcb29fb982e5b3a97520de0dbcba4b0286d87281b (diff)
downloadvyatta-cfg-vpn-12996340fe2a1e15613bb047d2f649f6205688ad.tar.gz
vyatta-cfg-vpn-12996340fe2a1e15613bb047d2f649f6205688ad.zip
Reference IPsec profile name in DMPN connection names for op mode.
-rwxr-xr-xscripts/dmvpn-config.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/dmvpn-config.pl b/scripts/dmvpn-config.pl
index 6fa180d..63f1854 100755
--- a/scripts/dmvpn-config.pl
+++ b/scripts/dmvpn-config.pl
@@ -167,7 +167,7 @@ if ( $vcVPN->exists('ipsec') ) {
my $needs_passthrough = 'false';
my $tunKeyword = 'tunnel ' . "$tunnel";
- my $conn_head = "\tvpnprof-dmvpn-$tunnel {\n";
+ my $conn_head = "\tdmvpn-$profile-$tunnel {\n";
$genout .= $conn_head;
my $lip = $vc->returnValue("interfaces tunnel $tunnel local-ip");