summaryrefslogtreecommitdiffhomepage
path: root/protocols
diff options
context:
space:
mode:
authorDirk Brenken <dev@brenken.org>2018-07-09 21:55:02 +0200
committerGitHub <noreply@github.com>2018-07-09 21:55:02 +0200
commit36b6d98747e2d1830bbc6aa076303048bbb98d3d (patch)
treeccbda19796c874abfffd52b0f2a9b32288caeaa3 /protocols
parent4a083f6d2334bf2f35e8299fc215d61165c6a39a (diff)
parent265b0ebbd428eee3889a5a9ad2d0f36e38545670 (diff)
Merge pull request #1937 from LuKePicci/luci-proto-ppp_pppoe_host-uniq
luci-proto-ppp: expose pppoe host_uniq tag setting
Diffstat (limited to 'protocols')
-rw-r--r--protocols/luci-proto-ppp/luasrc/model/cbi/admin_network/proto_pppoe.lua8
1 files changed, 8 insertions, 0 deletions
diff --git a/protocols/luci-proto-ppp/luasrc/model/cbi/admin_network/proto_pppoe.lua b/protocols/luci-proto-ppp/luasrc/model/cbi/admin_network/proto_pppoe.lua
index d844c01db..078b5ffe9 100644
--- a/protocols/luci-proto-ppp/luasrc/model/cbi/admin_network/proto_pppoe.lua
+++ b/protocols/luci-proto-ppp/luasrc/model/cbi/admin_network/proto_pppoe.lua
@@ -114,6 +114,14 @@ keepalive_interval.placeholder = "5"
keepalive_interval.datatype = "min(1)"
+host_uniq = section:taboption("advanced", Value, "host_uniq",
+ translate("Host-Uniq tag content"),
+ translate("Raw hex-encoded bytes. Leave empty unless your ISP require this"))
+
+host_uniq.placeholder = translate("auto")
+host_uniq.datatype = "hex"
+
+
demand = section:taboption("advanced", Value, "demand",
translate("Inactivity timeout"),
translate("Close inactive connection after the given amount of seconds, use 0 to persist connection"))