applications/luci-splash: fix crash in splashd
authorJo-Philipp Wich <jow@openwrt.org>
Thu, 19 Feb 2009 21:14:56 +0000 (21:14 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Thu, 19 Feb 2009 21:14:56 +0000 (21:14 +0000)
applications/luci-splash/root/usr/bin/luci-splashd

index 267fbdf0ae565c20072bfceb296b4fb051f5b9ce..946c6966a66c03d54062b1faf0c2ab4e33a253ce 100755 (executable)
@@ -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