From 3dfe06fdc1dab8207d16f942b04713dd70ff6479 Mon Sep 17 00:00:00 2001 From: "Ycarus (Yannick Chabanois)" Date: Sun, 29 Sep 2019 19:34:01 +0200 Subject: [PATCH] Fix disable fast open --- luci-app-openmptcprouter/luasrc/controller/openmptcprouter.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/luci-app-openmptcprouter/luasrc/controller/openmptcprouter.lua b/luci-app-openmptcprouter/luasrc/controller/openmptcprouter.lua index e88d669f2..e5d0cfc14 100644 --- a/luci-app-openmptcprouter/luasrc/controller/openmptcprouter.lua +++ b/luci-app-openmptcprouter/luasrc/controller/openmptcprouter.lua @@ -605,6 +605,7 @@ function settings_add() end luci.sys.exec("sysctl -w net.ipv4.tcp_fastopen=%s" % tcp_fastopen) luci.sys.exec("sed -i 's:^net.ipv4.tcp_fastopen=[0-3]*:net.ipv4.tcp_fastopen=%s:' /etc/sysctl.d/zzz_openmptcprouter.conf" % tcp_fastopen) + ucic:set("openmptcprouter", "settings","disable_fastopen", disablefastopen) -- Disable IPv6 local disable_ipv6 = luci.http.formvalue("enableipv6") or "1"