diff options
author | Christian Poessinger <christian@poessinger.com> | 2023-01-02 12:12:35 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-02 12:12:35 +0100 |
commit | 2e3644593d8991d2e9b5c26bfddfab362287dee2 (patch) | |
tree | caf60365d8516067e4dbc802ee572d2df5c5d01e /data/templates/accel-ppp/l2tp.config.j2 | |
parent | b13355926c394742678446fd932ebfab5152a256 (diff) | |
parent | e471707ccff74c1bf500a43b5dfc47ffcf944644 (diff) | |
download | vyos-1x-2e3644593d8991d2e9b5c26bfddfab362287dee2.tar.gz vyos-1x-2e3644593d8991d2e9b5c26bfddfab362287dee2.zip |
Merge pull request #1725 from sever-sever/T4893
T4893: Add ppp-options ipv6-interface-id for L2TP
Diffstat (limited to 'data/templates/accel-ppp/l2tp.config.j2')
-rw-r--r-- | data/templates/accel-ppp/l2tp.config.j2 | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/data/templates/accel-ppp/l2tp.config.j2 b/data/templates/accel-ppp/l2tp.config.j2 index 3d1e835a9..5914fd375 100644 --- a/data/templates/accel-ppp/l2tp.config.j2 +++ b/data/templates/accel-ppp/l2tp.config.j2 @@ -126,7 +126,13 @@ ipv6={{ ppp_ipv6 }} {% else %} {{ 'ipv6=allow' if client_ipv6_pool_configured else '' }} {% endif %} - +{% if ppp_ipv6_intf_id is vyos_defined %} +ipv6-intf-id={{ ppp_ipv6_intf_id }} +{% endif %} +{% if ppp_ipv6_peer_intf_id is vyos_defined %} +ipv6-peer-intf-id={{ ppp_ipv6_peer_intf_id }} +{% endif %} +ipv6-accept-peer-intf-id={{ "1" if ppp_ipv6_accept_peer_intf_id else "0" }} {% if client_ipv6_pool %} [ipv6-pool] |