mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-02-15 03:51:51 +00:00
This commit is contained in:
parent
117c6a292f
commit
73cdab2373
1 changed files with 2 additions and 2 deletions
|
@ -883,10 +883,10 @@ function interfaces_status()
|
|||
end
|
||||
for itf, option, value in dnsmasq:gmatch("option=(%w+),([%w:-]+),(%d+\.%d+\.%d+\.%d+)") do
|
||||
if mArray.openmptcprouter.dhcpd[itf] then
|
||||
if option == "option:router" or option == "6" then
|
||||
if option == "option:router" or option == "3" then
|
||||
mArray.openmptcprouter.dhcpd[itf].router = value
|
||||
end
|
||||
if option == "option:dns-server" or option == "" then
|
||||
if option == "option:dns-server" or option == "6" then
|
||||
mArray.openmptcprouter.dhcpd[itf].dns = value
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue