summaryrefslogtreecommitdiff
path: root/radsecproxy.h
diff options
context:
space:
mode:
Diffstat (limited to 'radsecproxy.h')
-rw-r--r--radsecproxy.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/radsecproxy.h b/radsecproxy.h
index bd74f75..73c27bb 100644
--- a/radsecproxy.h
+++ b/radsecproxy.h
@@ -19,6 +19,7 @@
#define REQUEST_RETRIES 3
#define MAX_CERT_DEPTH 5
#define STATUS_SERVER_PERIOD 25
+#define IDLE_TIMEOUT 300
#define RAD_Access_Request 1
#define RAD_Access_Accept 2
#define RAD_Access_Reject 3
@@ -115,6 +116,7 @@ struct server {
pthread_t clientth;
uint8_t clientrdgone;
struct timeval lastconnecttry;
+ struct timeval lastreply;
uint8_t connectionok;
uint8_t lostrqs;
char *dynamiclookuparg;