summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-upnp
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2011-01-30 00:59:56 +0000
committerJo-Philipp Wich <jow@openwrt.org>2011-01-30 00:59:56 +0000
commite9362b83f18ef7b2e53caf778efb83da62f6aef5 (patch)
treea97f00f81dd6d38d57f1e509d5e9a743abe6d004 /applications/luci-upnp
parent80c2b4cf4602b04fe2e22d7fa3d36e426af13abc (diff)
applications/luci-upnp: add option to enable NAT-PMP
Diffstat (limited to 'applications/luci-upnp')
-rw-r--r--applications/luci-upnp/luasrc/model/cbi/upnp/upnp.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/applications/luci-upnp/luasrc/model/cbi/upnp/upnp.lua b/applications/luci-upnp/luasrc/model/cbi/upnp/upnp.lua
index 1aa616178..5d61dcecb 100644
--- a/applications/luci-upnp/luasrc/model/cbi/upnp/upnp.lua
+++ b/applications/luci-upnp/luasrc/model/cbi/upnp/upnp.lua
@@ -38,6 +38,7 @@ function e.write(self, section, value)
Value.write(self, section, value)
end
+s:option(Flag, "enable_natpmp", translate("Enable NAT-PMP")).rmempty = true
s:option(Flag, "secure_mode", translate("Enable secure mode")).rmempty = true
s:option(Flag, "log_output", translate("Log output")).rmempty = true
s:option(Value, "download", translate("Downlink"), "kByte/s").rmempty = true