summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 {