summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2009-02-19 21:14:56 +0000
committerJo-Philipp Wich <jow@openwrt.org>2009-02-19 21:14:56 +0000
commiteb1c3685db9af6d1e6d30cf859d0e5b493b7807f (patch)
tree364f9fbfc371ee39a99336f1fdcddab8ed0d176d
parentcbc49a3b537e2e7cc49166f9d85e730d0f7d6275 (diff)
applications/luci-splash: fix crash in splashd
-rwxr-xr-xapplications/luci-splash/root/usr/bin/luci-splashd2
1 files changed, 1 insertions, 1 deletions
diff --git a/applications/luci-splash/root/usr/bin/luci-splashd b/applications/luci-splash/root/usr/bin/luci-splashd
index 267fbdf0a..946c6966a 100755
--- a/applications/luci-splash/root/usr/bin/luci-splashd
+++ b/applications/luci-splash/root/usr/bin/luci-splashd
@@ -16,7 +16,7 @@ while true do
if client then
client:settimeout(1)
local srv
- local ip = luci.ip.IPv4(client:getpeername())
+ local ip = luci.ip.IPv4((client:getpeername()))
uci:foreach("network", "interface",
function (section)
if section.ipaddr then