diff options
author | sever-sever <v.gletenko@vyos.io> | 2021-03-04 19:06:07 +0000 |
---|---|---|
committer | sever-sever <v.gletenko@vyos.io> | 2021-03-04 19:06:07 +0000 |
commit | 52ee92b8edf851939c5ea3dc90fac3f5f90096c2 (patch) | |
tree | 9b3aef57e8dda6af3029133cad6039dae6dc69f8 /data | |
parent | d4c40adfeac4686174388878520138b640884c45 (diff) | |
download | vyos-1x-52ee92b8edf851939c5ea3dc90fac3f5f90096c2.tar.gz vyos-1x-52ee92b8edf851939c5ea3dc90fac3f5f90096c2.zip |
pppoe: T3386: Fix client ip-pool stop range
Diffstat (limited to 'data')
-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 %} |