diff options
author | Dmitry Kozlov <xeb@mail.ru> | 2015-11-18 12:47:27 +0300 |
---|---|---|
committer | Dmitry Kozlov <xeb@mail.ru> | 2015-11-18 12:47:27 +0300 |
commit | dd6a897125a984498536466174426b18ed870bcc (patch) | |
tree | 5ad33fc1bb4f24a591f575b0a99ac0e988846eb3 /accel-pppd/include | |
parent | cc773ecd1776610e8789e72415cb48d2d203712b (diff) | |
download | accel-ppp-dd6a897125a984498536466174426b18ed870bcc.tar.gz accel-ppp-dd6a897125a984498536466174426b18ed870bcc.zip |
ipoe: do not send immediate Accounting Stop in soft terminate mode
Diffstat (limited to 'accel-pppd/include')
-rw-r--r-- | accel-pppd/include/ap_session.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/accel-pppd/include/ap_session.h b/accel-pppd/include/ap_session.h index 41155f1b..8bfe4cd8 100644 --- a/accel-pppd/include/ap_session.h +++ b/accel-pppd/include/ap_session.h @@ -50,7 +50,7 @@ struct ap_ctrl int ppp:1; void (*started)(struct ap_session*); void (*finished)(struct ap_session *); - void (*terminate)(struct ap_session *, int hard); + int (*terminate)(struct ap_session *, int hard); }; struct ap_private @@ -92,6 +92,7 @@ struct ap_session int terminating:1; int terminated:1; + int down:1; int terminate_cause; struct list_head pd_list; |