applications/luci-upnp: add option to enable NAT-PMP
authorJo-Philipp Wich <jow@openwrt.org>
Sun, 30 Jan 2011 00:59:56 +0000 (00:59 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Sun, 30 Jan 2011 00:59:56 +0000 (00:59 +0000)
applications/luci-upnp/luasrc/model/cbi/upnp/upnp.lua

index 1aa6161..5d61dce 100644 (file)
@@ -38,6 +38,7 @@ function e.write(self, section, value)
        Value.write(self, section, value)
 end
 
        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
 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