From e153afc401ccb9256385a0a3da10bf412d87fe1f Mon Sep 17 00:00:00 2001 From: venaas Date: Thu, 18 Sep 2008 11:10:44 +0000 Subject: fixed some bugs, improved duplicate detection git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@391 e88ac4ed-0b26-0410-9574-a7f39faa03bf --- radsecproxy.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'radsecproxy.h') diff --git a/radsecproxy.h b/radsecproxy.h index 6caf2d9..8c17c96 100644 --- a/radsecproxy.h +++ b/radsecproxy.h @@ -49,8 +49,8 @@ struct request { struct radmsg *msg; struct client *from; char *origusername; - char origauth[16]; - uint8_t origid; + uint8_t rqid; + uint8_t rqauth[16]; int udpsock; /* only for UDP */ uint16_t udpport; /* only for UDP */ }; @@ -102,9 +102,8 @@ struct clsrvconf { struct client { struct clsrvconf *conf; - int sock; /* for tcp/dtls */ + int sock; SSL *ssl; - pthread_mutex_t lock; /* used for updating rqs */ struct request *rqs[MAX_REQUESTS]; struct queue *replyq; struct queue *rbios; /* for dtls */ -- cgit v1.1