diff options
author | Christian Breunig <christian@breunig.cc> | 2023-02-08 15:51:47 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-08 15:51:47 +0100 |
commit | 1042fc32c371a74f048ffaf9a551b5d13c227f45 (patch) | |
tree | a508dd461c59791b7960006543dfef65c6590016 | |
parent | 6b9b36db47a44b688c0bf08649845012a2b13f67 (diff) | |
parent | 9733bbae4e21c7b4f7bbd6f2bd7a48a4338cb4d6 (diff) | |
download | vyos-1x-1042fc32c371a74f048ffaf9a551b5d13c227f45.tar.gz vyos-1x-1042fc32c371a74f048ffaf9a551b5d13c227f45.zip |
Merge pull request #1804 from sever-sever/T2603
T2603: PPPoE-server change default min-mtu value 1280
-rw-r--r-- | data/templates/accel-ppp/pppoe.config.j2 | 2 | ||||
-rw-r--r-- | interface-definitions/service-pppoe-server.xml.in | 1 |
2 files changed, 1 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 }} diff --git a/interface-definitions/service-pppoe-server.xml.in b/interface-definitions/service-pppoe-server.xml.in index 68592b96b..db8522287 100644 --- a/interface-definitions/service-pppoe-server.xml.in +++ b/interface-definitions/service-pppoe-server.xml.in @@ -122,6 +122,7 @@ <validator name="numeric" argument="--range 68-65535"/> </constraint> </properties> + <defaultValue>1280</defaultValue> </leafNode> <leafNode name="mru"> <properties> |