diff options
Diffstat (limited to 'accel-pppd/ppp')
-rw-r--r-- | accel-pppd/ppp/ipv6_nd.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/accel-pppd/ppp/ipv6_nd.c b/accel-pppd/ppp/ipv6_nd.c index e0ec842e..707fe8de 100644 --- a/accel-pppd/ppp/ipv6_nd.c +++ b/accel-pppd/ppp/ipv6_nd.c @@ -324,7 +324,9 @@ static void ev_ppp_finishing(struct ppp_t *ppp) if (!h) return; - triton_timer_del(&h->timer); + if (h->timer.tpd) + triton_timer_del(&h->timer); + triton_md_unregister_handler(&h->hnd); close(h->hnd.fd); |