summaryrefslogtreecommitdiff
path: root/scripts/vpn-config.pl
diff options
context:
space:
mode:
authorMohit Mehta <mohit.mehta@vyatta.com>2010-01-30 13:20:05 -0800
committerMohit Mehta <mohit.mehta@vyatta.com>2010-01-30 13:20:05 -0800
commit0681857d1d5e139772059d39395540ceb40e7890 (patch)
treeaccabe8d2c7fbabfc794a4765af4456912329645 /scripts/vpn-config.pl
parent31e578bbe6133fb14dba28db68fad65e74d3af49 (diff)
downloadvyatta-cfg-vpn-0681857d1d5e139772059d39395540ceb40e7890.tar.gz
vyatta-cfg-vpn-0681857d1d5e139772059d39395540ceb40e7890.zip
Fix Bug 1832 VPN copy-tos Disabling copy-tos field doesn't work
* remove copy-tos field under 'vpn ipsec'. It's not supposed to work with NETKEY
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 = '';