mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-02-13 02:51:50 +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
|
||||
|
||||
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"
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue