diff options
author | Mohit Mehta <mohit.mehta@vyatta.com> | 2010-01-30 13:20:05 -0800 |
---|---|---|
committer | Mohit Mehta <mohit.mehta@vyatta.com> | 2010-01-30 13:20:05 -0800 |
commit | 0681857d1d5e139772059d39395540ceb40e7890 (patch) | |
tree | accabe8d2c7fbabfc794a4765af4456912329645 /scripts/vpn-config.pl | |
parent | 31e578bbe6133fb14dba28db68fad65e74d3af49 (diff) | |
download | vyatta-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-x | scripts/vpn-config.pl | 9 |
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 = ''; |