summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-06-16 19:20:21 +0200
committerGitHub <noreply@github.com>2020-06-16 19:20:21 +0200
commit883426259651f400fda05446f8ecef5697cbcd60 (patch)
tree03c8aa5694d1e9234ec347b7d7759ecf9a0bed43
parent5692f43242770bf4c1fe027a1fdcd3c5bfb11444 (diff)
parent381fc8749fc4777191bf060af76cdf12fdd77b2a (diff)
downloadvyos-1x-883426259651f400fda05446f8ecef5697cbcd60.tar.gz
vyos-1x-883426259651f400fda05446f8ecef5697cbcd60.zip
Merge pull request #459 from DmitriyEshenko/1x-ppp-16062020
pppoe-server: T2601: Add default CCP values if not defined via CLI
-rw-r--r--data/templates/accel-ppp/pppoe.config.tmpl2
1 files changed, 2 insertions, 0 deletions
diff --git a/data/templates/accel-ppp/pppoe.config.tmpl b/data/templates/accel-ppp/pppoe.config.tmpl
index 6c4ff89b1..370ca7946 100644
--- a/data/templates/accel-ppp/pppoe.config.tmpl
+++ b/data/templates/accel-ppp/pppoe.config.tmpl
@@ -129,6 +129,8 @@ verbose=1
check-ip=1
{% if ppp_ccp %}
ccp=1
+{% else %}
+ccp=0
{% endif %}
{% if ppp_min_mtu %}
min-mtu={{ ppp_min_mtu }}