summaryrefslogtreecommitdiff
path: root/accel-pppd/radius/radius_p.h
diff options
context:
space:
mode:
authorDmitry Kozlov <xeb@mail.ru>2011-01-26 22:47:10 +0300
committerDmitry Kozlov <xeb@mail.ru>2011-01-26 22:47:10 +0300
commit419de8f6910e4fd5d442068ad5ae41b530169470 (patch)
treef28b69928983f8c772f40e873ce571379e9fa546 /accel-pppd/radius/radius_p.h
parentb997d19f3b6e3087bffb072dd326c4b5311143b5 (diff)
downloadaccel-ppp-419de8f6910e4fd5d442068ad5ae41b530169470.tar.gz
accel-ppp-419de8f6910e4fd5d442068ad5ae41b530169470.zip
dynamicaly check if radius module loaded (so not more require to rebuild project without RADIUS to switch to chap-secrets)
Diffstat (limited to 'accel-pppd/radius/radius_p.h')
-rw-r--r--accel-pppd/radius/radius_p.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/accel-pppd/radius/radius_p.h b/accel-pppd/radius/radius_p.h
index 71c1a637..e539dd8b 100644
--- a/accel-pppd/radius/radius_p.h
+++ b/accel-pppd/radius/radius_p.h
@@ -15,6 +15,7 @@ struct radius_pd_t
struct ppp_pd_t pd;
struct ppp_t *ppp;
pthread_mutex_t lock;
+ int authenticated:1;
struct rad_req_t *auth_req;
struct rad_req_t *acct_req;
@@ -37,7 +38,7 @@ struct radius_pd_t
int attr_class_len;
uint8_t *attr_state;
int attr_state_len;
- int termination_action;
+ int termination_action;
struct list_head plugin_list;
};