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 1aa61617813ee847ae5a9a0dff5ad53b4930db6a..5d61dcecba2b262040292ab10c6c2f0955cadd67 100644 (file)
@@ -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