summaryrefslogtreecommitdiff
path: root/accel-pppd/ppp
diff options
context:
space:
mode:
authorKozlov Dmitry <dima@server>2011-07-22 11:58:23 +0400
committerKozlov Dmitry <dima@server>2011-07-22 11:58:23 +0400
commitc2cd908d15d70219b7154653ab088837d4c9613a (patch)
treeeef2e1d6ce2c3df0ca8b26b7ba9d436d63703d74 /accel-pppd/ppp
parent5242b174bfd396ea87a91e4bdd6470e98264e006 (diff)
parent8e76381804b680bdb3a2026521df9382976914d1 (diff)
downloadaccel-ppp-c2cd908d15d70219b7154653ab088837d4c9613a.tar.gz
accel-ppp-c2cd908d15d70219b7154653ab088837d4c9613a.zip
Merge branch 'master' of ssh://accel-ppp.git.sourceforge.net/gitroot/accel-ppp/accel-ppp
Diffstat (limited to 'accel-pppd/ppp')
-rw-r--r--accel-pppd/ppp/ppp_auth.c4
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);
}