X-Git-Url: https://git.archive.openwrt.org/?a=blobdiff_plain;f=applications%2Fluci-app-upnp%2Fluasrc%2Fcontroller%2Fupnp.lua;h=790bf29d8cfc3287e564cf8b5f333eb5ba9c395a;hb=dd2b05289b40002b2e4c098abfc88052e423215f;hp=619b6f47705127ec1dae2d6538750fa0745bdc19;hpb=7a3493b1f7d75a3945279115324cf2ff4da26b7b;p=project%2Fluci.git diff --git a/applications/luci-app-upnp/luasrc/controller/upnp.lua b/applications/luci-app-upnp/luasrc/controller/upnp.lua index 619b6f477..790bf29d8 100644 --- a/applications/luci-app-upnp/luasrc/controller/upnp.lua +++ b/applications/luci-app-upnp/luasrc/controller/upnp.lua @@ -1,5 +1,5 @@ -- Copyright 2008 Steven Barth --- Copyright 2008 Jo-Philipp Wich +-- Copyright 2008 Jo-Philipp Wich -- Licensed to the public under the Apache License 2.0. module("luci.controller.upnp", package.seeall) @@ -19,7 +19,7 @@ function index() end function act_status() - local ipt = io.popen("iptables --line-numbers -t nat -xnvL MINIUPNPD") + local ipt = io.popen("iptables --line-numbers -t nat -xnvL MINIUPNPD 2>/dev/null") if ipt then local fwd = { } while true do