From 0ddc0596af418bfaa79e17752d39441d58056c46 Mon Sep 17 00:00:00 2001 From: Kevin Darbyshire-Bryant Date: Sun, 29 Apr 2018 19:28:54 +0100 Subject: luci-app-upnp: support igdv1 run time flag Signed-off-by: Kevin Darbyshire-Bryant --- applications/luci-app-upnp/luasrc/model/cbi/upnp/upnp.lua | 3 +++ 1 file changed, 3 insertions(+) (limited to 'applications/luci-app-upnp/luasrc/model') diff --git a/applications/luci-app-upnp/luasrc/model/cbi/upnp/upnp.lua b/applications/luci-app-upnp/luasrc/model/cbi/upnp/upnp.lua index 74b9d1d033..17a4d9b76e 100644 --- a/applications/luci-app-upnp/luasrc/model/cbi/upnp/upnp.lua +++ b/applications/luci-app-upnp/luasrc/model/cbi/upnp/upnp.lua @@ -35,6 +35,9 @@ s:taboption("general", Flag, "enable_natpmp", translate("Enable NAT-PMP function s:taboption("general", Flag, "secure_mode", translate("Enable secure mode"), translate("Allow adding forwards only to requesting ip addresses")).default = "1" +s:taboption("general", Flag, "igdv1", translate("Enable IGDv1 mode"), + translate("Advertise as IGDv1 device instead of IGDv2")).default = "0" + s:taboption("general", Flag, "log_output", translate("Enable additional logging"), translate("Puts extra debugging information into the system log")) -- cgit v1.2.3