luci-app-upnp: support igdv1 run time flag 1778/head
authorKevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
Sun, 29 Apr 2018 18:28:54 +0000 (19:28 +0100)
committerKevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
Wed, 2 May 2018 20:53:36 +0000 (21:53 +0100)
Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
applications/luci-app-upnp/luasrc/model/cbi/upnp/upnp.lua

index 74b9d1d033e8584035942c727c1d1e2b6b011215..17a4d9b76efed7d7b240ed54225944c8e7d067bf 100644 (file)
@@ -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"))