luci-app-upnp: supress stderr when listing MINIUPNPD chain
[project/luci.git] / applications / luci-app-upnp / luasrc / controller / upnp.lua
index 8fc697f..790bf29 100644 (file)
@@ -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