summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Kozlov <xeb@mail.ru>2017-12-07 16:13:12 +0300
committerDmitry Kozlov <xeb@mail.ru>2017-12-07 16:13:12 +0300
commitd3c2680d0d8094b1c05d069c9cc8976359ce936b (patch)
tree49258b5b9cfe4cdf5a838fb1e92f8ab2db212926
parentabc8e981b69732b7a23ab36b437811f7b4b9bd8a (diff)
downloadaccel-ppp-d3c2680d0d8094b1c05d069c9cc8976359ce936b.tar.gz
accel-ppp-d3c2680d0d8094b1c05d069c9cc8976359ce936b.zip
pppd_compat: mark session started if ip-up handler called
-rw-r--r--accel-pppd/extra/pppd_compat.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/accel-pppd/extra/pppd_compat.c b/accel-pppd/extra/pppd_compat.c
index c62fabc4..ce7e7550 100644
--- a/accel-pppd/extra/pppd_compat.c
+++ b/accel-pppd/extra/pppd_compat.c
@@ -320,6 +320,8 @@ static void ev_ses_started(struct ap_session *ses)
_exit(EXIT_FAILURE);
} else
log_error("pppd_compat: fork: %s\n", strerror(errno));
+
+ pd->started = 1;
}
static void ev_ses_finished(struct ap_session *ses)