diff options
author | Wes Campaigne <westacular@gmail.com> | 2011-02-21 19:10:10 -0500 |
---|---|---|
committer | Jan Engelhardt <jengelh@medozas.de> | 2011-02-27 02:28:44 +0100 |
commit | 2ad8dc895ec28a173c629c695c2e11c41b625b6e (patch) | |
tree | 317e635e3381eeb2aadaddbe2ed3d525055a0622 /ip6tables-multi.h | |
parent | adcb28101d53c2a7f372de256b1af50804fee899 (diff) |
xtables: use all IPv6 addresses resolved from a hostname
Fixes a long-standing issue where host_to_ip6addr would only ever
examine/return the first item of the address chain returned by
getaddrinfo, instead of traversing the chain and copying each of them.
This has always been how host_to_ip6addr behaves, and all of the other
related IPv6 code is already written to handle multiple possible
addresses.
[Style fixups. Removal of redundant i<*naddrs check. -j.eng]
Signed-off-by: Wes Campaigne <westacular@gmail.com>
Diffstat (limited to 'ip6tables-multi.h')
0 files changed, 0 insertions, 0 deletions