diff options
author | Dmitry Kozlov <xeb@mail.ru> | 2010-10-28 01:02:37 +0400 |
---|---|---|
committer | Dmitry Kozlov <xeb@mail.ru> | 2010-10-28 01:02:37 +0400 |
commit | e1603a51f450ad7ee52fe89ef5d78b82845fdcc2 (patch) | |
tree | 02759aee4bbb3053bbc9c1be80af33585c356bda /accel-pptpd/radius/radius_p.h | |
parent | 04a57e858bed078548c4c8715aa3d35ba81401ae (diff) | |
download | accel-ppp-e1603a51f450ad7ee52fe89ef5d78b82845fdcc2.tar.gz accel-ppp-e1603a51f450ad7ee52fe89ef5d78b82845fdcc2.zip |
radius: rewrited Termination-Action attribute handling so it is rfc compliant now
Diffstat (limited to 'accel-pptpd/radius/radius_p.h')
-rw-r--r-- | accel-pptpd/radius/radius_p.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/accel-pptpd/radius/radius_p.h b/accel-pptpd/radius/radius_p.h index af7af06..a24d687 100644 --- a/accel-pptpd/radius/radius_p.h +++ b/accel-pptpd/radius/radius_p.h @@ -16,6 +16,7 @@ struct radius_pd_t struct ppp_t *ppp; pthread_mutex_t lock; + struct rad_req_t *auth_req; struct rad_req_t *acct_req; struct triton_timer_t acct_interim_timer; uint32_t acct_input_octets; @@ -31,9 +32,12 @@ struct radius_pd_t struct ipdb_item_t ipaddr; int acct_interim_interval; int acct_delay_time; - - uint8_t *class; - int class_len; + + uint8_t *attr_class; + int attr_class_len; + uint8_t *attr_state; + int attr_state_len; + int termination_action; }; struct rad_req_t |