summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorsever-sever <v.gletenko@vyos.io>2021-03-04 19:06:07 +0000
committersever-sever <v.gletenko@vyos.io>2021-03-04 19:06:07 +0000
commit52ee92b8edf851939c5ea3dc90fac3f5f90096c2 (patch)
tree9b3aef57e8dda6af3029133cad6039dae6dc69f8 /data
parentd4c40adfeac4686174388878520138b640884c45 (diff)
downloadvyos-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.j22
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 %}