mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
Fix IPv6 in settings page
This commit is contained in:
parent
223ce87a72
commit
ef535bc21f
2 changed files with 3 additions and 3 deletions
|
@ -505,7 +505,7 @@ function settings_add()
|
|||
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)
|
||||
|
||||
-- Disable IPv6
|
||||
local disable_ipv6 = luci.http.formvalue("disable_ipv6") or 0
|
||||
local disable_ipv6 = luci.http.formvalue("enableipv6") or "1"
|
||||
set_ipv6_state(disable_ipv6)
|
||||
|
||||
-- Enable/disable obfs
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue