diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2011-01-30 00:59:56 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2011-01-30 00:59:56 +0000 |
commit | e9362b83f18ef7b2e53caf778efb83da62f6aef5 (patch) | |
tree | a97f00f81dd6d38d57f1e509d5e9a743abe6d004 /applications/luci-upnp/luasrc/model/cbi/upnp | |
parent | 80c2b4cf4602b04fe2e22d7fa3d36e426af13abc (diff) |
applications/luci-upnp: add option to enable NAT-PMP
Diffstat (limited to 'applications/luci-upnp/luasrc/model/cbi/upnp')
-rw-r--r-- | applications/luci-upnp/luasrc/model/cbi/upnp/upnp.lua | 1 |
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 1aa6161781..5d61dcecba 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 |