summaryrefslogtreecommitdiff
path: root/accel-pppd/radius/radius_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'accel-pppd/radius/radius_p.h')
-rw-r--r--accel-pppd/radius/radius_p.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/accel-pppd/radius/radius_p.h b/accel-pppd/radius/radius_p.h
index f656a3e7..7e8b0fd9 100644
--- a/accel-pppd/radius/radius_p.h
+++ b/accel-pppd/radius/radius_p.h
@@ -106,7 +106,7 @@ struct rad_server_t {
time_t fail_time;
int conf_fail_time;
int timeout_cnt;
- double weight;
+ int weight;
pthread_mutex_t lock;
unsigned long stat_auth_sent;
@@ -132,11 +132,11 @@ struct rad_server_t {
struct stat_accm_t *stat_interim_query_1m;
struct stat_accm_t *stat_interim_query_5m;
- int backup:1;
- int starting:1;
- int acct_on:1;
- int need_free:1;
- int need_close:1;
+ unsigned int backup:1;
+ unsigned int starting:1;
+ unsigned int acct_on:1;
+ unsigned int need_free:1;
+ unsigned int need_close:1;
};
#define RAD_SERV_AUTH 0