diff options
author | Linus Nordberg <linus@nordu.net> | 2011-07-02 14:07:29 +0200 |
---|---|---|
committer | Linus Nordberg <linus@nordu.net> | 2011-07-02 14:07:29 +0200 |
commit | 71aa913e87e4d4539aa1049d6d249d1dd3d61756 (patch) | |
tree | dae908fe4165a9443ba4c1532181ae703cdb2274 | |
parent | cd1cdfc090cafa6580da088558913c406d2acfcc (diff) |
Resolve IPv6 addresses too.
-rw-r--r-- | lib/radsec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/radsec.c b/lib/radsec.c index ae8eda6..1ffc244 100644 --- 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) { |