summaryrefslogtreecommitdiff
path: root/scripts/vpn-config.pl
diff options
context:
space:
mode:
authorMohit Mehta <mohit.mehta@vyatta.com>2009-11-28 00:59:03 -0800
committerMohit Mehta <mohit.mehta@vyatta.com>2010-01-12 16:56:18 -0800
commit1b24da8c4e6528db464d677af0ed01912a0a66eb (patch)
tree53ec03a93f581c78d00d977755a34020514eb826 /scripts/vpn-config.pl
parent9576a0b4207f299c963b2be915816c0442ab19ac (diff)
downloadvyatta-cfg-vpn-1b24da8c4e6528db464d677af0ed01912a0a66eb.tar.gz
vyatta-cfg-vpn-1b24da8c4e6528db464d677af0ed01912a0a66eb.zip
add comment to identify end of connection description
(cherry picked from commit cb9ed22ae45d03fa37148273d02cef4a9a179d1d)
Diffstat (limited to 'scripts/vpn-config.pl')
-rwxr-xr-xscripts/vpn-config.pl3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/vpn-config.pl b/scripts/vpn-config.pl
index 473cd88..87ee389 100755
--- a/scripts/vpn-config.pl
+++ b/scripts/vpn-config.pl
@@ -907,6 +907,9 @@ if ( $vcVPN->exists('ipsec') ) {
} else {
$genout .= "\tauto=start\n";
}
+ $conn_head =~ s/\n//;
+ $genout .= "#$conn_head"; # to identify end of connection definition
+ # used by clear vpn op-mode command
}
}
} else {