diff options
author | Dmitry Kozlov <xeb@mail.ru> | 2016-03-29 13:43:25 +0300 |
---|---|---|
committer | Dmitry Kozlov <xeb@mail.ru> | 2016-03-29 13:43:25 +0300 |
commit | dd2ccfbed467fcb8c2c33a1c5f114409e6ae85c4 (patch) | |
tree | 2aadadb29af696452ca2e2ef35bbbd000f99d013 | |
parent | b8718a7737e0e58d404914a21747cbebf2d9c425 (diff) | |
download | accel-ppp-dd2ccfbed467fcb8c2c33a1c5f114409e6ae85c4.tar.gz accel-ppp-dd2ccfbed467fcb8c2c33a1c5f114409e6ae85c4.zip |
pppoe: add missing stopping of discovery on vlan timeout
-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); } |