diff options
author | sever-sever <v.gletenko@vyos.io> | 2021-03-04 19:06:07 +0000 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-03-04 21:48:39 +0100 |
commit | 1d99a377517aee25df62b96b749060966f94b141 (patch) | |
tree | 17dd47c4a87bb72604212a00b29f69df00dc9192 /data/templates | |
parent | bbfe367648be30a315db2fd69e197e1d63393327 (diff) | |
download | vyos-1x-1d99a377517aee25df62b96b749060966f94b141.tar.gz vyos-1x-1d99a377517aee25df62b96b749060966f94b141.zip |
pppoe: T3386: Fix client ip-pool stop range
(cherry picked from commit 52ee92b8edf851939c5ea3dc90fac3f5f90096c2)
Diffstat (limited to 'data/templates')
-rw-r--r-- | data/templates/accel-ppp/config_ip_pool.j2 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/data/templates/accel-ppp/config_ip_pool.j2 b/data/templates/accel-ppp/config_ip_pool.j2 index 973bc0071..3b0f68084 100644 --- a/data/templates/accel-ppp/config_ip_pool.j2 +++ b/data/templates/accel-ppp/config_ip_pool.j2 @@ -4,7 +4,7 @@ gw-ip-address={{ gateway_address }} {% endif %} {% if client_ip_pool.start is defined and client_ip_pool.stop is defined and client_ip_pool.start is not none and client_ip_pool.stop is not none %} -{{ client_ip_pool.start }}-{{ client_ip_pool.stop }} +{{ client_ip_pool.start }}-{{ client_ip_pool.stop.split('.')[3] }} {% endif %} {% if client_ip_pool.subnet is defined and client_ip_pool.subnet is not none %} {% for subnet in client_ip_pool.subnet %} |