summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-upnp
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2018-05-05 19:41:22 +0200
committerGitHub <noreply@github.com>2018-05-05 19:41:22 +0200
commit9664fb3d81ac67f4045c9dfd1489e86a4305c6fc (patch)
tree95953b33051e04198dd24fd7605f5cb5319df740 /applications/luci-app-upnp
parentb0f394657003d4dd954e316152498e23ad2bd4ba (diff)
parent0ddc0596af418bfaa79e17752d39441d58056c46 (diff)
Merge pull request #1778 from ldir-EDB0/igdv2
luci-app-upnp: support igdv1 run time flag
Diffstat (limited to 'applications/luci-app-upnp')
-rw-r--r--applications/luci-app-upnp/luasrc/model/cbi/upnp/upnp.lua3
1 files changed, 3 insertions, 0 deletions
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"))