From: Jo-Philipp Wich Date: Sun, 30 Jan 2011 00:59:56 +0000 (+0000) Subject: applications/luci-upnp: add option to enable NAT-PMP X-Git-Tag: 0.11.0~2301 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=e9362b83f18ef7b2e53caf778efb83da62f6aef5;p=oweals%2Fluci.git applications/luci-upnp: add option to enable NAT-PMP --- 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