luci-proto-ppp: expose pppoe host_uniq tag setting 1937/head
authorLuKePicci <luca.piccirillo@gmail.com>
Mon, 9 Jul 2018 15:53:08 +0000 (17:53 +0200)
committerLuKePicci <luca.piccirillo@gmail.com>
Mon, 9 Jul 2018 15:53:08 +0000 (17:53 +0200)
Signed-off-by: Luca Piccirillo <luca.piccirillo@gmail.com>
protocols/luci-proto-ppp/luasrc/model/cbi/admin_network/proto_pppoe.lua

index d844c01db0c6b2419a036af96e69a15d3388770b..078b5ffe941530f945deaa31bccb0fab7e816b63 100644 (file)
@@ -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"))