From e9362b83f18ef7b2e53caf778efb83da62f6aef5 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Sun, 30 Jan 2011 00:59:56 +0000 Subject: [PATCH] applications/luci-upnp: add option to enable NAT-PMP --- applications/luci-upnp/luasrc/model/cbi/upnp/upnp.lua | 1 + 1 file changed, 1 insertion(+) 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 -- 2.30.2