mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
Fix error in status page for IPv6
This commit is contained in:
parent
3b09fe9b42
commit
d52d20d462
1 changed files with 1 additions and 1 deletions
|
@ -672,7 +672,7 @@ function interfaces_status()
|
|||
if type(ipv6_result) == "table" and #ipv6_result > 0 then
|
||||
local ipv6_addr_test
|
||||
for k,v in ipairs(ipv6_result) do
|
||||
if v.RecursiveDnsServer then
|
||||
if v.RecursiveDnsServer and type(v.RecursiveDnsServer) ~= "table" then
|
||||
ipv6_addr_test = sys.exec('ip -6 addr | grep ' .. v.RecursiveDnsServer)
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue