luci-app-advanced-reboot: fix faulty ip.new() invocation
authorJo-Philipp Wich <jo@mein.io>
Thu, 30 Jan 2020 07:32:16 +0000 (08:32 +0100)
committerJo-Philipp Wich <jo@mein.io>
Thu, 30 Jan 2020 07:33:03 +0000 (08:33 +0100)
commit66213ef617c50624dbc47fe633ca27ef9fb7e776
tree5edf9ab6fa0bcb45ed49a67d617fcd6d500fd361
parentadbbd5cf690cf993e0de1e56266ac6fd2b2dfe91
luci-app-advanced-reboot: fix faulty ip.new() invocation

Ref: https://github.com/openwrt/luci/issues/3587#issuecomment-580044459
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 6638de5f626a639169ee354bd4d1e99747c8a1c4)
applications/luci-app-advanced-reboot/luasrc/controller/advanced_reboot.lua