aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ppp-watch.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/ppp-watch.c b/src/ppp-watch.c
index be241fef..a264dd90 100644
--- a/src/ppp-watch.c
+++ b/src/ppp-watch.c
@@ -617,6 +617,11 @@ main(int argc, char **argv) {
break;
}
+ /* We default to retrying the connect phase for backward compatibility. */
+ if ((WEXITSTATUS(status) == 8) && !svTrueValue(ifcfg, "RETRYCONNECT", 1)) {
+ cleanExit(WEXITSTATUS(status));
+ }
+
if ((WEXITSTATUS(status) == 8) ||
!connectedOnce || svTrueValue(ifcfg, "PERSIST", 0)) {
temp = svGetValue(ifcfg, "RETRYTIMEOUT");