diff options
author | Nataliia Solomko <natalirs1985@gmail.com> | 2024-06-27 10:19:24 +0300 |
---|---|---|
committer | Nataliia Solomko <natalirs1985@gmail.com> | 2024-06-28 12:11:27 +0300 |
commit | c86909d39e2c3a1ca74372bc377adde63953c76a (patch) | |
tree | f3475ae7618275c9ac5f5ff6c799fd377cbda716 /data | |
parent | e458035e1ab56c7c21e53f26d8a39f00a62e5c9c (diff) | |
download | vyos-1x-c86909d39e2c3a1ca74372bc377adde63953c76a.tar.gz vyos-1x-c86909d39e2c3a1ca74372bc377adde63953c76a.zip |
pppoe-server: T5710: Add option permit any-login
Diffstat (limited to 'data')
-rw-r--r-- | data/templates/accel-ppp/pppoe.config.j2 | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/data/templates/accel-ppp/pppoe.config.j2 b/data/templates/accel-ppp/pppoe.config.j2 index 6711f2ec9..73ffe0963 100644 --- a/data/templates/accel-ppp/pppoe.config.j2 +++ b/data/templates/accel-ppp/pppoe.config.j2 @@ -31,10 +31,13 @@ copy=1 level={{ log.level }} {% endif %} -{% if authentication.mode is vyos_defined("noauth") %} [auth] +{% if authentication.mode is vyos_defined("noauth") %} noauth=1 {% endif %} +{% if authentication.any_login is vyos_defined %} +any-login=1 +{% endif %} [client-ip-range] 0.0.0.0/0 |