From 12996340fe2a1e15613bb047d2f649f6205688ad Mon Sep 17 00:00:00 2001 From: Daniil Baturin Date: Fri, 11 Jan 2019 15:15:42 +0100 Subject: Reference IPsec profile name in DMPN connection names for op mode. --- scripts/dmvpn-config.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"); -- cgit v1.2.3