diff options
Diffstat (limited to 'accel-pppd/ctrl/pppoe')
-rw-r--r-- | accel-pppd/ctrl/pppoe/pppoe.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/accel-pppd/ctrl/pppoe/pppoe.c b/accel-pppd/ctrl/pppoe/pppoe.c index 8a4ce5a5..bbb113a2 100644 --- a/accel-pppd/ctrl/pppoe/pppoe.c +++ b/accel-pppd/ctrl/pppoe/pppoe.c @@ -1225,8 +1225,10 @@ static void pppoe_serv_timeout(struct triton_timer_t *t) pthread_mutex_unlock(&serv->lock); return; } - pthread_mutex_unlock(&serv->lock); + + pppoe_disc_stop(serv); + pppoe_server_free(serv); } |