applications/luci-splash: fix crash in splashd
This commit is contained in:
parent
cbc49a3b53
commit
eb1c3685db
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ while true do
|
||||||
if client then
|
if client then
|
||||||
client:settimeout(1)
|
client:settimeout(1)
|
||||||
local srv
|
local srv
|
||||||
local ip = luci.ip.IPv4(client:getpeername())
|
local ip = luci.ip.IPv4((client:getpeername()))
|
||||||
uci:foreach("network", "interface",
|
uci:foreach("network", "interface",
|
||||||
function (section)
|
function (section)
|
||||||
if section.ipaddr then
|
if section.ipaddr then
|
||||||
|
|
Loading…
Reference in a new issue