projects
/
radsecproxy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cd1cdfc
)
Resolve IPv6 addresses too.
author
Linus Nordberg
<linus@nordu.net>
Sat, 2 Jul 2011 12:07:29 +0000
(14:07 +0200)
committer
Linus Nordberg
<linus@nordu.net>
Sat, 2 Jul 2011 12:07:29 +0000
(14:07 +0200)
lib/radsec.c
patch
|
blob
|
history
diff --git
a/lib/radsec.c
b/lib/radsec.c
index
ae8eda6
..
1ffc244
100644
(file)
--- a/
lib/radsec.c
+++ b/
lib/radsec.c
@@
-105,7
+105,7
@@
rs_resolv (struct evutil_addrinfo **addr,
struct evutil_addrinfo hints, *res = NULL;
memset (&hints, 0, sizeof(struct evutil_addrinfo));
- hints.ai_family = AF_
INET; /* IPv4 only. TODO: Set AF_UNSPEC. */
+ hints.ai_family = AF_
UNSPEC;
hints.ai_flags = AI_ADDRCONFIG;
switch (type)
{