diff options
author | venaas <venaas> | 2008-09-17 12:03:44 +0000 |
---|---|---|
committer | venaas <venaas@e88ac4ed-0b26-0410-9574-a7f39faa03bf> | 2008-09-17 12:03:44 +0000 |
commit | 04e007ddc3e3669458f094436989237d488942d2 (patch) | |
tree | ba1e83aa57742df0e183f96ee242560a21f2c17f /radsecproxy.h | |
parent | 9565d5287c057a4ec08708ad893ea558b78917fa (diff) |
better logging. not requiring server configs to run
git-svn-id: https://svn.testnett.uninett.no/radsecproxy/branches/release-1.1@388 e88ac4ed-0b26-0410-9574-a7f39faa03bf
Diffstat (limited to 'radsecproxy.h')
-rw-r--r-- | radsecproxy.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/radsecproxy.h b/radsecproxy.h index fcedf04..f4c468d 100644 --- a/radsecproxy.h +++ b/radsecproxy.h @@ -101,6 +101,7 @@ struct client { struct clsrvconf *conf; SSL *ssl; struct replyq *replyq; + struct sockaddr *addr; }; struct server { @@ -165,7 +166,3 @@ struct rewriteconf { #define ATTRLEN(x) ((x)[1]) #define ATTRVAL(x) ((x) + 2) #define ATTRVALLEN(x) ((x)[1] - 2) - -#define SOCKADDR_SIZE(addr) ((addr).ss_family == AF_INET ? \ - sizeof(struct sockaddr_in) : \ - sizeof(struct sockaddr_in6)) |