summaryrefslogtreecommitdiff
path: root/data/templates/accel-ppp
diff options
context:
space:
mode:
authorsever-sever <v.gletenko@vyos.io>2020-09-26 12:13:50 +0000
committersever-sever <v.gletenko@vyos.io>2020-09-26 12:13:50 +0000
commitc2dcf10b28a19301a77d8043e6175b899765abf3 (patch)
tree571aa37d4f467a02bf0992b23b1914002f134cd5 /data/templates/accel-ppp
parent374724be64728101c262fcac1579beece63ee651 (diff)
downloadvyos-1x-c2dcf10b28a19301a77d8043e6175b899765abf3.tar.gz
vyos-1x-c2dcf10b28a19301a77d8043e6175b899765abf3.zip
accel-ppp: T2917: Add Preallocate NAS-port-id
Diffstat (limited to 'data/templates/accel-ppp')
-rw-r--r--data/templates/accel-ppp/pppoe.config.tmpl5
1 files changed, 5 insertions, 0 deletions
diff --git a/data/templates/accel-ppp/pppoe.config.tmpl b/data/templates/accel-ppp/pppoe.config.tmpl
index 5ad628fde..5003fcbb2 100644
--- a/data/templates/accel-ppp/pppoe.config.tmpl
+++ b/data/templates/accel-ppp/pppoe.config.tmpl
@@ -132,6 +132,11 @@ ccp=1
{% else %}
ccp=0
{% endif %}
+{% if ppp_preallocate_vif %}
+unit-preallocate=1
+{% else %}
+unit-preallocate=0
+{% endif %}
{% if ppp_min_mtu %}
min-mtu={{ ppp_min_mtu }}
{% else %}