From: Kevin Darbyshire-Bryant Date: Sun, 29 Apr 2018 18:28:54 +0000 (+0100) Subject: luci-app-upnp: support igdv1 run time flag X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=refs%2Fpull%2F1778%2Fhead;p=oweals%2Fluci.git luci-app-upnp: support igdv1 run time flag Signed-off-by: Kevin Darbyshire-Bryant --- 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 74b9d1d03..17a4d9b76 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"))