diff options
author | Dmitry Kozlov <xeb@mail.ru> | 2017-12-07 16:13:12 +0300 |
---|---|---|
committer | Dmitry Kozlov <xeb@mail.ru> | 2017-12-07 16:13:12 +0300 |
commit | d3c2680d0d8094b1c05d069c9cc8976359ce936b (patch) | |
tree | 49258b5b9cfe4cdf5a838fb1e92f8ab2db212926 | |
parent | abc8e981b69732b7a23ab36b437811f7b4b9bd8a (diff) | |
download | accel-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.c | 2 |
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) |