applications/luci-upnp: add option to enable/disable secure mode
[project/luci.git] / applications / luci-upnp / luasrc / model / cbi / upnp / upnp.lua
index 79a38f7..0d07a56 100644 (file)
@@ -25,8 +25,9 @@ function e.cfgvalue(self, section)
        return (os.execute("/etc/init.d/miniupnpd enabled") == 0) and "1" or "0"
 end
 
+s:option(Flag, "secure_mode").rmempty = true
 s:option(Flag, "log_output").rmempty = true
 s:option(Value, "download").rmempty = true
 s:option(Value, "upload").rmempty = true
 
-return m
\ No newline at end of file
+return m