diff options
author | Alan DeKok <aland@freeradius.org> | 2017-03-23 19:01:20 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-23 19:01:20 -0400 |
commit | a11bbaeb6b0635dd852fb511a28f67da80327fef (patch) | |
tree | f9d575bfab62047823289cc8b0bdffa7a6d5244c /src/pam_radius_auth.h | |
parent | a581c2149d1218b11a6a0b8a25ceec78b0a1db08 (diff) | |
parent | de3a47e7275d7078c0b089a964ed0f3dd186af72 (diff) | |
download | libpam-radius-auth-a11bbaeb6b0635dd852fb511a28f67da80327fef.tar.gz libpam-radius-auth-a11bbaeb6b0635dd852fb511a28f67da80327fef.zip |
Merge pull request #28 from miquels/master
add IPv6 support
Diffstat (limited to 'src/pam_radius_auth.h')
-rw-r--r-- | src/pam_radius_auth.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/pam_radius_auth.h b/src/pam_radius_auth.h index b3f7839..887b8ad 100644 --- a/src/pam_radius_auth.h +++ b/src/pam_radius_auth.h @@ -130,8 +130,8 @@ typedef struct attribute_t { typedef struct radius_server_t { struct radius_server_t *next; - struct in_addr ip; - uint16_t port; + struct sockaddr_storage ip_storage; + struct sockaddr *ip; char *hostname; char *secret; int timeout; @@ -147,6 +147,7 @@ typedef struct radius_conf_t { int force_prompt; int max_challenge; int sockfd; + int sockfd6; int debug; CONST char *conf_file; char prompt[MAXPROMPT]; |