diff options
author | Saurabh Mohan <saurabh.mohan@vyatta.com> | 2013-01-22 12:29:10 -0800 |
---|---|---|
committer | Saurabh Mohan <saurabh.mohan@vyatta.com> | 2013-01-22 12:29:10 -0800 |
commit | 1c1299d073afe47231c3e564cabdba6990007940 (patch) | |
tree | 0706c642e8429c8fcf1e32f327512b72a3ddfbbd /scripts/dmvpn-config.pl | |
parent | 367c4bfd6f53c3e6ed38a9806b2fd0458b1077b0 (diff) | |
download | vyatta-cfg-vpn-1c1299d073afe47231c3e564cabdba6990007940.tar.gz vyatta-cfg-vpn-1c1299d073afe47231c3e564cabdba6990007940.zip |
Dmvpn merge with mirantis jan22-2013
Diffstat (limited to 'scripts/dmvpn-config.pl')
-rwxr-xr-x | scripts/dmvpn-config.pl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/dmvpn-config.pl b/scripts/dmvpn-config.pl index e53368f..23b5440 100755 --- a/scripts/dmvpn-config.pl +++ b/scripts/dmvpn-config.pl @@ -146,7 +146,7 @@ if ( $vcVPN->exists('ipsec') ) { my $needs_passthrough = 'false'; my $tunKeyword = 'tunnel '."$tunnel"; - my $conn_head = "conn dmvpn-$profile-tunnel-$tunnel\n"; + my $conn_head = "conn vpnprof-tunnel-$tunnel\n"; $genout .= $conn_head; my $lip = $vc->returnValue("interfaces tunnel $tunnel local-ip"); @@ -371,7 +371,7 @@ if ( $vcVPN->exists('ipsec') ) { # $right = '%any'; if (not ($prev_profile eq $profile)){ - $genout_secrets .= "$lip $right "; + $genout_secrets .= "\n$lip $right "; if ( defined ($authid) ){ $genout_secrets .= "$authid "; } |