summaryrefslogtreecommitdiff
path: root/radsecproxy.h
diff options
context:
space:
mode:
authorvenaas <venaas>2008-07-21 13:56:33 +0000
committervenaas <venaas@e88ac4ed-0b26-0410-9574-a7f39faa03bf>2008-07-21 13:56:33 +0000
commit2bf81d826d330a5d824f88af9b3931f5afcac66d (patch)
tree98803ae44bbb61587b4a2c6e1600ad21d4ab0952 /radsecproxy.h
parent3df365105d1869e32a62cecbb507a760edd3c890 (diff)
RAD_UDP/RAD_TLS instead of U/T
git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@314 e88ac4ed-0b26-0410-9574-a7f39faa03bf
Diffstat (limited to 'radsecproxy.h')
-rw-r--r--radsecproxy.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/radsecproxy.h b/radsecproxy.h
index 1207ee1..480af6a 100644
--- a/radsecproxy.h
+++ b/radsecproxy.h
@@ -29,6 +29,9 @@
#define RAD_Status_Server 12
#define RAD_Status_Client 13
+#define RAD_UDP 0
+#define RAD_TLS 1
+
#define RAD_Attr_User_Name 1
#define RAD_Attr_User_Password 2
#define RAD_Attr_Reply_Message 18
@@ -86,7 +89,7 @@ struct listenerarg {
struct clsrvconf {
char *name;
char *conftype;
- char type; /* U for UDP, T for TLS */
+ uint8_t type; /* RAD_UDP/RAD_TLS */
char *host;
char *port;
char *secret;