summaryrefslogtreecommitdiff
path: root/data/templates
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:56:42 +0200
commit6fdb90a43e910841d2a73960446cdef2d094763f (patch)
treefbf747a59976bc1a4efe845ed75aa0ca34973a80 /data/templates
parentb50f2ffb470eb6cab070166f297219800f91f4c3 (diff)
downloadvyos-1x-6fdb90a43e910841d2a73960446cdef2d094763f.tar.gz
vyos-1x-6fdb90a43e910841d2a73960446cdef2d094763f.zip
pppoe-server: T3405: Add interface cache feature
(cherry picked from commit 065c6b620cb52a3235c7b6e210d34dc8cb943b95)
Diffstat (limited to 'data/templates')
-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 3dfb615da..14079becb 100644
--- a/data/templates/accel-ppp/pppoe.config.tmpl
+++ b/data/templates/accel-ppp/pppoe.config.tmpl
@@ -91,6 +91,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