summaryrefslogtreecommitdiffstats
path: root/src/lib/connections/pppoe
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/connections/pppoe')
-rw-r--r--src/lib/connections/pppoe2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/connections/pppoe b/src/lib/connections/pppoe
index 87f9ee5..65fee79 100644
--- a/src/lib/connections/pppoe
+++ b/src/lib/connections/pppoe
@@ -36,7 +36,7 @@ pppoe_up() {
if is_yes "${UsePeerDNS:-yes}"; then
echo "usepeerdns" >> "${cfg}"
fi
- echo "maxfail 5" >> "${cfg}"
+ echo "maxfail ${MaxFail:-5}" >> "${cfg}"
echo "updetach" >> "${cfg}"
if [[ ${ConnectionMode} == demand ]]; then
echo "demand" >> "${cfg}"