summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2018-11-11 11:03:26 +0100
committerDaniil Baturin <daniil@baturin.org>2018-11-11 11:03:26 +0100
commitdfa5383c38a21e6c66426f261cc2f02dc2f720ec (patch)
tree5b5b18a7e0d0542b96122e1dcbbdb6c4d2a772b3
parent7dc7b7331fba3fb4af396b40615dce2a3cb9d584 (diff)
parent4daf13e96ef00fea7ad2655138c30c3f3c459cd7 (diff)
downloadvyatta-conntrack-dfa5383c38a21e6c66426f261cc2f02dc2f720ec.tar.gz
vyatta-conntrack-dfa5383c38a21e6c66426f261cc2f02dc2f720ec.zip
Merge branch 'current' into crux
-rw-r--r--templates-cfg/system/conntrack/tcp/loose/node.def13
1 files changed, 3 insertions, 10 deletions
diff --git a/templates-cfg/system/conntrack/tcp/loose/node.def b/templates-cfg/system/conntrack/tcp/loose/node.def
index 2c94a31..f84b786 100644
--- a/templates-cfg/system/conntrack/tcp/loose/node.def
+++ b/templates-cfg/system/conntrack/tcp/loose/node.def
@@ -28,9 +28,9 @@ update:
sudo modprobe nf_conntrack_ipv4
fi
if [ "$VAR(@)" = "enable" ]; then
- sudo sysctl -q -w net/ipv4/netfilter/ip_conntrack_tcp_loose=1
+ sudo sysctl -q -w net.netfilter.nf_conntrack_tcp_loose=1
elif [ "$VAR(@)" = "disable" ]; then
- sudo sysctl -q -w net/ipv4/netfilter/ip_conntrack_tcp_loose=0
+ sudo sysctl -q -w net.netfilter.nf_conntrack_tcp_loose=0
else
echo "Invalid parameter: $VAR(@)"
exit 1
@@ -40,11 +40,4 @@ delete:
if [ ! -e /proc/sys/net/netfilter/nf_conntrack_tcp_loose ]; then
sudo modprobe nf_conntrack_ipv4
fi
- sudo sysctl -q -w net/ipv4/netfilter/ip_conntrack_tcp_loose=1
-
-
-
-
-
-
-
+ sudo sysctl -q -w net.netfilter.nf_conntrack_tcp_loose=1