summaryrefslogtreecommitdiff
path: root/scripts/vpn-config.pl
diff options
context:
space:
mode:
authorJeff Leung <jleung@v10networks.ca>2015-02-07 20:13:35 +0000
committerJeff Leung <jleung@v10networks.ca>2015-02-07 20:13:35 +0000
commit3a343f34372c4d2a920758161b864d74c685f570 (patch)
tree3f7db90c19937d0d0c9a668ea6f0658bbba95872 /scripts/vpn-config.pl
parent0e4aed338c5a72b93931f7e16afae4246347be6a (diff)
downloadvyatta-cfg-vpn-3a343f34372c4d2a920758161b864d74c685f570.tar.gz
vyatta-cfg-vpn-3a343f34372c4d2a920758161b864d74c685f570.zip
Remove the code that generates our ipsec logger at runtime
Since we're invoking the logger at runtime, there's really no point on keeping this codeblock
Diffstat (limited to 'scripts/vpn-config.pl')
-rwxr-xr-xscripts/vpn-config.pl20
1 files changed, 0 insertions, 20 deletions
diff --git a/scripts/vpn-config.pl b/scripts/vpn-config.pl
index 15a437b..613f40f 100755
--- a/scripts/vpn-config.pl
+++ b/scripts/vpn-config.pl
@@ -305,26 +305,6 @@ if ($vcVPN->exists('ipsec')) {
$genout .= "\"\n";
}
- #
- # charon log-mode
- #
- my @logmodes = $vcVPN->returnValues('ipsec logging log-modes');
- my $charonloglevel = $vcVPN->returnValue('ipsec logging log-level');
- if (@logmodes > 0) {
- my $debugmode = '';
- my $first_debug_mode = 1;
- $genout .= "\tcharondebug=\"";
- foreach my $mode (@logmodes) {
- if ($first_debug_mode) {
- $first_debug_mode = 0;
- } else {
- $genout .= ", ";
- }
- $genout .= "$mode $charonloglevel";
- }
- $genout .= "\"\n";
- }
-
# Set plutoopts:
# Disable uniqreqids?
#