summaryrefslogtreecommitdiff
path: root/scripts/vpn-config.pl
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/vpn-config.pl')
-rwxr-xr-xscripts/vpn-config.pl9
1 files changed, 1 insertions, 8 deletions
diff --git a/scripts/vpn-config.pl b/scripts/vpn-config.pl
index 8c05209..78258ff 100755
--- a/scripts/vpn-config.pl
+++ b/scripts/vpn-config.pl
@@ -372,15 +372,8 @@ if ( $vcVPN->exists('ipsec') ) {
}
#
- # copy-tos
+ # log-mode
#
- my $copy_tos = $vcVPN->returnValue('ipsec copy-tos');
- if ( defined($copy_tos) && $copy_tos eq 'enable' ) {
- $genout .= "\thidetos=no\n";
- } else {
- $genout .= "\thidetos=yes\n";
- }
-
my @logmodes = $vcVPN->returnValues('ipsec logging log-modes');
if ( @logmodes > 0 ) {
my $debugmode = '';