summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorLuKePicci <luca.piccirillo@gmail.com>2018-07-09 17:53:08 +0200
committerLuKePicci <luca.piccirillo@gmail.com>2018-07-09 17:53:08 +0200
commit265b0ebbd428eee3889a5a9ad2d0f36e38545670 (patch)
treea5fe79f987711eadeed8ffda345495ec80dfcba8
parent26d90f0c10907d5b8919aea3ccb01e95591ed038 (diff)
luci-proto-ppp: expose pppoe host_uniq tag setting
Signed-off-by: Luca Piccirillo <luca.piccirillo@gmail.com>
-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"))