diff options
author | Jeff Leung <jleung@v10networks.ca> | 2015-02-07 20:13:35 +0000 |
---|---|---|
committer | Jeff Leung <jleung@v10networks.ca> | 2015-02-07 20:13:35 +0000 |
commit | 3a343f34372c4d2a920758161b864d74c685f570 (patch) | |
tree | 3f7db90c19937d0d0c9a668ea6f0658bbba95872 | |
parent | 0e4aed338c5a72b93931f7e16afae4246347be6a (diff) | |
download | vyatta-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
-rwxr-xr-x | scripts/vpn-config.pl | 20 |
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? # |