Merge pull request #304 from nmav/ocserv-crypt
[project/luci.git] / applications / luci-app-upnp / luasrc / controller / upnp.lua
index 619b6f4..790bf29 100644 (file)
@@ -1,5 +1,5 @@
 -- Copyright 2008 Steven Barth <steven@midlink.org>
--- Copyright 2008 Jo-Philipp Wich <xm@leipzig.freifunk.net>
+-- Copyright 2008 Jo-Philipp Wich <jow@openwrt.org>
 -- 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