diff options
Diffstat (limited to 'src/lib/connections/pppoe')
-rw-r--r-- | src/lib/connections/pppoe | 2 |
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}" |