summaryrefslogtreecommitdiff
path: root/data/templates/accel-ppp/pppoe.config.tmpl
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-09-26 14:44:32 +0200
committerGitHub <noreply@github.com>2020-09-26 14:44:32 +0200
commit9717d6630144a4c1acaa473d1bdacf2536f8e041 (patch)
tree571aa37d4f467a02bf0992b23b1914002f134cd5 /data/templates/accel-ppp/pppoe.config.tmpl
parent374724be64728101c262fcac1579beece63ee651 (diff)
parentc2dcf10b28a19301a77d8043e6175b899765abf3 (diff)
downloadvyos-1x-9717d6630144a4c1acaa473d1bdacf2536f8e041.tar.gz
vyos-1x-9717d6630144a4c1acaa473d1bdacf2536f8e041.zip
Merge pull request #553 from sever-sever/T2917_port
accel-ppp: T2917: Add Preallocate NAS-port-id
Diffstat (limited to 'data/templates/accel-ppp/pppoe.config.tmpl')
-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 %}