mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
Fix IPv6 status in status page
This commit is contained in:
parent
81dcb5ec58
commit
8a7dda07b4
1 changed files with 1 additions and 1 deletions
|
@ -644,7 +644,7 @@ function interfaces_status()
|
||||||
end
|
end
|
||||||
|
|
||||||
mArray.openmptcprouter["ipv6"] = "disabled"
|
mArray.openmptcprouter["ipv6"] = "disabled"
|
||||||
if tonumber((sys.exec("sysctl net.ipv6.conf.all.disable_ipv6")):match(" %d+")) == 0 then
|
if uci:get("openmptcprouter","settings","disable_ipv6") ~= "1" then
|
||||||
mArray.openmptcprouter["ipv6"] = "enabled"
|
mArray.openmptcprouter["ipv6"] = "enabled"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue