diff options
author | DmitriyEshenko <dmitriy.eshenko@vyos.io> | 2021-06-29 09:21:05 +0000 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-06-29 19:56:42 +0200 |
commit | 6fdb90a43e910841d2a73960446cdef2d094763f (patch) | |
tree | fbf747a59976bc1a4efe845ed75aa0ca34973a80 /data | |
parent | b50f2ffb470eb6cab070166f297219800f91f4c3 (diff) | |
download | vyos-1x-6fdb90a43e910841d2a73960446cdef2d094763f.tar.gz vyos-1x-6fdb90a43e910841d2a73960446cdef2d094763f.zip |
pppoe-server: T3405: Add interface cache feature
(cherry picked from commit 065c6b620cb52a3235c7b6e210d34dc8cb943b95)
Diffstat (limited to 'data')
-rw-r--r-- | data/templates/accel-ppp/pppoe.config.tmpl | 3 |
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 |