From 64c36cc7dc0beac13c715bb5dedc697861c1badf Mon Sep 17 00:00:00 2001 From: Kozlov Dmitry Date: Mon, 14 May 2012 22:22:54 +0400 Subject: pppd_compat: use EV_PPP_PRE_FINISHED event to start ip-down script (fixes unexpected radattr file removal) --- accel-pppd/ppp/ppp.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'accel-pppd/ppp') diff --git a/accel-pppd/ppp/ppp.c b/accel-pppd/ppp/ppp.c index 3ab71662..4f3beb9e 100644 --- a/accel-pppd/ppp/ppp.c +++ b/accel-pppd/ppp/ppp.c @@ -202,6 +202,8 @@ exit_close_chan: static void destablish_ppp(struct ppp_t *ppp) { + triton_event_fire(EV_PPP_PRE_FINISHED, ppp); + pthread_rwlock_wrlock(&ppp_lock); list_del(&ppp->entry); pthread_rwlock_unlock(&ppp_lock); -- cgit v1.2.3