diff options
-rw-r--r-- | accel-pppd/ppp/ppp_auth.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/accel-pppd/ppp/ppp_auth.c b/accel-pppd/ppp/ppp_auth.c index 9a0587f7..b69c7599 100644 --- a/accel-pppd/ppp/ppp_auth.c +++ b/accel-pppd/ppp/ppp_auth.c @@ -28,6 +28,8 @@ static int auth_layer_start(struct ppp_layer_data_t *); static void auth_layer_finish(struct ppp_layer_data_t *); static void auth_layer_free(struct ppp_layer_data_t *); +static void __ppp_auth_started(struct ppp_t *ppp); + struct auth_option_t { struct lcp_option_t opt; @@ -296,6 +298,8 @@ static void auth_layer_free(struct ppp_layer_data_t *ld) log_ppp_debug("auth_layer_free\n"); + triton_cancel_call(ad->ppp->ctrl->ctx, (triton_event_func)__ppp_auth_started); + _free(ad); } |