diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-03-04 21:43:04 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-04 21:43:04 +0100 |
commit | d170b84821d55355b7b5b0484a5cd55b5c145e14 (patch) | |
tree | 929ebe389bad77c838139c5d3a899b7ac259cfd9 | |
parent | ea2a22f7844735021fb638c911527e612abfbc69 (diff) | |
parent | 52ee92b8edf851939c5ea3dc90fac3f5f90096c2 (diff) | |
download | vyos-1x-d170b84821d55355b7b5b0484a5cd55b5c145e14.tar.gz vyos-1x-d170b84821d55355b7b5b0484a5cd55b5c145e14.zip |
Merge pull request #760 from sever-sever/T3386
pppoe: T3386: Fix client ip-pool stop range
-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 %} |