summaryrefslogtreecommitdiff
path: root/data/templates/accel-ppp/pppoe.config.j2
diff options
context:
space:
mode:
authorViacheslav Hletenko <v.gletenko@vyos.io>2023-02-08 13:02:20 +0000
committerViacheslav Hletenko <v.gletenko@vyos.io>2023-02-08 13:02:20 +0000
commit9733bbae4e21c7b4f7bbd6f2bd7a48a4338cb4d6 (patch)
treea508dd461c59791b7960006543dfef65c6590016 /data/templates/accel-ppp/pppoe.config.j2
parent6b9b36db47a44b688c0bf08649845012a2b13f67 (diff)
downloadvyos-1x-9733bbae4e21c7b4f7bbd6f2bd7a48a4338cb4d6.tar.gz
vyos-1x-9733bbae4e21c7b4f7bbd6f2bd7a48a4338cb4d6.zip
T2603: PPPoE-server change default min-mtu value 1280
Minimum acceptable MTU. If client will try to negotiate less then specified MTU then it will be NAKed or disconnected if rejects greater MTU. Change 'min-mtu' from 1492 to 1280
Diffstat (limited to 'data/templates/accel-ppp/pppoe.config.j2')
-rw-r--r--data/templates/accel-ppp/pppoe.config.j22
1 files changed, 0 insertions, 2 deletions
diff --git a/data/templates/accel-ppp/pppoe.config.j2 b/data/templates/accel-ppp/pppoe.config.j2
index f4129d3e2..c536bafa5 100644
--- a/data/templates/accel-ppp/pppoe.config.j2
+++ b/data/templates/accel-ppp/pppoe.config.j2
@@ -69,8 +69,6 @@ ccp={{ "1" if ppp_options.ccp is vyos_defined else "0" }}
unit-preallocate={{ "1" if authentication.radius.preallocate_vif is vyos_defined else "0" }}
{% if ppp_options.min_mtu is vyos_defined %}
min-mtu={{ ppp_options.min_mtu }}
-{% else %}
-min-mtu={{ mtu }}
{% endif %}
{% if ppp_options.mru is vyos_defined %}
mru={{ ppp_options.mru }}