summaryrefslogtreecommitdiff
path: root/accel-pppd/ctrl/pppoe
diff options
context:
space:
mode:
authorKozlov Dmitry <xeb@mail.ru>2012-05-31 09:46:22 +0400
committerKozlov Dmitry <xeb@mail.ru>2012-05-31 09:46:22 +0400
commitd99e69fca1f6c442472eb596ef197c63879e5c97 (patch)
tree07cbef7794adcebca4efce031a86e0728d5cef9e /accel-pppd/ctrl/pppoe
parent62dc5e3fe0c9dbeb808e3830ee72283b6c2842d1 (diff)
parent9ae4a0151805229face3385e6c966de90c7fec29 (diff)
downloadaccel-ppp-d99e69fca1f6c442472eb596ef197c63879e5c97.tar.gz
accel-ppp-d99e69fca1f6c442472eb596ef197c63879e5c97.zip
Merge branch 'master' of ssh://accel-ppp.git.sourceforge.net/gitroot/accel-ppp/accel-ppp
Diffstat (limited to 'accel-pppd/ctrl/pppoe')
-rw-r--r--accel-pppd/ctrl/pppoe/pppoe.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/accel-pppd/ctrl/pppoe/pppoe.c b/accel-pppd/ctrl/pppoe/pppoe.c
index 73ddb913..ddd61e79 100644
--- a/accel-pppd/ctrl/pppoe/pppoe.c
+++ b/accel-pppd/ctrl/pppoe/pppoe.c
@@ -27,6 +27,7 @@
#endif
#include "connlimit.h"
+#include "fdtrash.h"
#include "pppoe.h"
@@ -117,7 +118,7 @@ static void disconnect(struct pppoe_conn_t *conn)
pppoe_send_PADT(conn);
- close(conn->disc_sock);
+ fdtrash_add(conn->disc_sock);
triton_event_fire(EV_CTRL_FINISHED, &conn->ppp);