diff options
author | Zhiyuan Wan <h@iloli.bid> | 2023-03-20 11:33:33 +0800 |
---|---|---|
committer | Zhiyuan Wan <h@iloli.bid> | 2023-03-21 13:20:02 +0800 |
commit | 616c5b38ec2f26fd589b3a01dbc4c2bf9b4d22c1 (patch) | |
tree | b110a527402d1b3d078fcddba96bb89894c2261d /data/templates/pppoe | |
parent | c820be57b6c77cdb0a5055d0c3a77dc8d550e2d7 (diff) | |
download | vyos-1x-616c5b38ec2f26fd589b3a01dbc4c2bf9b4d22c1.tar.gz vyos-1x-616c5b38ec2f26fd589b3a01dbc4c2bf9b4d22c1.zip |
pppoe: T5098: allow user to set pppd holdoff option
Diffstat (limited to 'data/templates/pppoe')
-rw-r--r-- | data/templates/pppoe/peer.j2 | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/data/templates/pppoe/peer.j2 b/data/templates/pppoe/peer.j2 index 5e650fa3b..f30cefe63 100644 --- a/data/templates/pppoe/peer.j2 +++ b/data/templates/pppoe/peer.j2 @@ -65,6 +65,10 @@ mru {{ mtu }} noipv6 {% endif %} +{% if holdoff is vyos_defined %} +holdoff {{ holdoff }} +{% endif %} + {% if connect_on_demand is vyos_defined %} demand # See T2249. PPP default route options should only be set when in on-demand |