summaryrefslogtreecommitdiff
path: root/accel-pppd/ppp/ppp.c
diff options
context:
space:
mode:
authorKozlov Dmitry <xeb@mail.ru>2013-01-25 00:02:31 +0400
committerKozlov Dmitry <xeb@mail.ru>2013-01-25 00:02:31 +0400
commit041b3051d55168ca171b944ca8d53b6aa4960dc1 (patch)
tree178a4af4ed379b15008fad5f8cfef0d435284570 /accel-pppd/ppp/ppp.c
parentcfba3c92aaa3721cacb4792575fc9a4ba1c2c708 (diff)
downloadaccel-ppp-041b3051d55168ca171b944ca8d53b6aa4960dc1.tar.gz
accel-ppp-041b3051d55168ca171b944ca8d53b6aa4960dc1.zip
Revert "session: read final interface statistics on termination"
This reverts commit 3bff891eac97037c633be960b822c688e8629165.
Diffstat (limited to 'accel-pppd/ppp/ppp.c')
-rw-r--r--accel-pppd/ppp/ppp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/accel-pppd/ppp/ppp.c b/accel-pppd/ppp/ppp.c
index 57aa740..fee9334 100644
--- a/accel-pppd/ppp/ppp.c
+++ b/accel-pppd/ppp/ppp.c
@@ -186,7 +186,7 @@ static void destablish_ppp(struct ppp_t *ppp)
{
struct pppunit_cache *uc;
- triton_event_fire(EV_SES_PRE_FINISHED, &ppp->ses);
+ triton_event_fire(EV_SES_PRE_FINISHED, ppp);
triton_md_unregister_handler(&ppp->chan_hnd);
triton_md_unregister_handler(&ppp->unit_hnd);
@@ -434,7 +434,7 @@ void __export ppp_layer_finished(struct ppp_t *ppp, struct ppp_layer_data_t *d)
destablish_ppp(ppp);
}
-void ppp_terminate(struct ap_session *ses, int hard)
+void __export ppp_terminate(struct ap_session *ses, int hard)
{
struct ppp_t *ppp = container_of(ses, typeof(*ppp), ses);
struct layer_node_t *n;