From 065c6b620cb52a3235c7b6e210d34dc8cb943b95 Mon Sep 17 00:00:00 2001 From: DmitriyEshenko Date: Tue, 29 Jun 2021 09:21:05 +0000 Subject: pppoe-server: T3405: Add interface cache feature --- data/templates/accel-ppp/pppoe.config.tmpl | 3 +++ 1 file changed, 3 insertions(+) (limited to 'data') 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 -- cgit v1.2.3