diff options
author | Daniil Baturin <daniil@vyos.io> | 2023-02-11 15:39:25 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-11 15:39:25 +0000 |
commit | c99c1127d3bc49b67e472e03fcd7f9930407f20d (patch) | |
tree | 5b19b58a1404147da7846c4ee135ae9e2bac6ef8 | |
parent | 0a5579b84d7c4280fe429bd45a70482a83b8d887 (diff) | |
parent | 7e957591a661173ebf3dc30dad0aceda7bd90679 (diff) | |
download | vyos-1x-c99c1127d3bc49b67e472e03fcd7f9930407f20d.tar.gz vyos-1x-c99c1127d3bc49b67e472e03fcd7f9930407f20d.zip |
Merge pull request #1806 from sever-sever/T2603-eq
T2603: PPPoE-server change default min-mtu value 1280 for Equuleus
-rw-r--r-- | data/templates/accel-ppp/pppoe.config.tmpl | 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.tmpl b/data/templates/accel-ppp/pppoe.config.tmpl index a44208e15..46f462166 100644 --- a/data/templates/accel-ppp/pppoe.config.tmpl +++ b/data/templates/accel-ppp/pppoe.config.tmpl @@ -65,8 +65,6 @@ ccp={{ "1" if ppp_options.ccp is defined else "0" }} unit-preallocate={{ "1" if authentication.radius.preallocate_vif is defined else "0" }} {% if ppp_options.min_mtu is defined and ppp_options.min_mtu is not none %} min-mtu={{ ppp_options.min_mtu }} -{% else %} -min-mtu={{ mtu }} {% endif %} {% if ppp_options.mru is defined and ppp_options.mru is not none %} mru={{ ppp_options.mru }} diff --git a/interface-definitions/service_pppoe-server.xml.in b/interface-definitions/service_pppoe-server.xml.in index 36bea6a7a..ba053ea75 100644 --- a/interface-definitions/service_pppoe-server.xml.in +++ b/interface-definitions/service_pppoe-server.xml.in @@ -148,6 +148,7 @@ <validator name="numeric" argument="--range 68-65535"/> </constraint> </properties> + <defaultValue>1280</defaultValue> </leafNode> <leafNode name="mru"> <properties> |