1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-03-09 15:40:03 +00:00

Really disable IPv6 when checkbox is unticked

This commit is contained in:
Ycarus 2018-08-20 07:21:37 +02:00
parent 4900f4a875
commit bad27cdf58

View file

@ -95,7 +95,7 @@ function wizard_add()
-- Enable/disable IPv6
local disable_ipv6 = "0"
local enable_ipv6 = luci.http.formvalue("enable_ipv6") or "1"
local enable_ipv6 = luci.http.formvalue("enableipv6") or "1"
if enable_ipv6 == "0" then
disable_pv6 = "1"
end