summaryrefslogtreecommitdiff
path: root/data/templates/accel-ppp/pppoe.config.tmpl
diff options
context:
space:
mode:
authorDmitriyEshenko <dmitriy.eshenko@vyos.io>2021-06-29 09:21:05 +0000
committerChristian Poessinger <christian@poessinger.com>2021-06-29 19:55:11 +0200
commit065c6b620cb52a3235c7b6e210d34dc8cb943b95 (patch)
tree1c7d8c66a0014b16fbac95ecb1e4706863caae4b /data/templates/accel-ppp/pppoe.config.tmpl
parent6152084f5f497e2f4827ec5271b9112d976cf19b (diff)
downloadvyos-1x-065c6b620cb52a3235c7b6e210d34dc8cb943b95.tar.gz
vyos-1x-065c6b620cb52a3235c7b6e210d34dc8cb943b95.zip
pppoe-server: T3405: Add interface cache feature
Diffstat (limited to 'data/templates/accel-ppp/pppoe.config.tmpl')
-rw-r--r--data/templates/accel-ppp/pppoe.config.tmpl3
1 files changed, 3 insertions, 0 deletions
diff --git a/data/templates/accel-ppp/pppoe.config.tmpl b/data/templates/accel-ppp/pppoe.config.tmpl
index 05ac31d18..238e7ee15 100644
--- a/data/templates/accel-ppp/pppoe.config.tmpl
+++ b/data/templates/accel-ppp/pppoe.config.tmpl
@@ -95,6 +95,9 @@ ipv6-accept-peer-intf-id={{ "1" if ppp_options.ipv6_accept_peer_intf_id is defin
{% endif %}
{# MTU #}
mtu={{ mtu }}
+{% if ppp_options.interface_cache is defined and ppp_options.interface_cache is not none %}
+unit-cache={{ ppp_options.interface_cache }}
+{% endif %}
[pppoe]
verbose=1