Commit 01568e54 authored by Ad Schellevis's avatar Ad Schellevis

(filter.inc) unused ipcomp

parent e850f56c
......@@ -3031,12 +3031,6 @@ function filter_generate_ipsec_rules(&$FilterIflist, $log = array())
$ipfrules = "\n# VPN Rules\n";
/* Is IP Compression enabled? */
if (isset($config['ipsec']['ipcomp'])) {
set_single_sysctl("net.inet.ipcomp.ipcomp_enable" , "1");
} else {
set_single_sysctl("net.inet.ipcomp.ipcomp_enable" , "0");
}
if (isset($config['ipsec']['enable']) &&
is_array($config['ipsec']['phase1'])) {
/* step through all phase1 entries */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment