diff options
author | Arne Schwabe <arne@rfc2549.org> | 2012-08-07 12:03:57 +0200 |
---|---|---|
committer | David Sommerseth <davids@redhat.com> | 2012-09-02 21:18:43 +0200 |
commit | f2d6f3bc06db4f9e0815fc25e35e393f794c193a (patch) | |
tree | 3ba404041bb2c68bc2d9225deff0ec8949bd2df2 /doc | |
parent | 3630a7a50099874d55bf8e212ad4a97d6e70966f (diff) | |
download | openvpn-f2d6f3bc06db4f9e0815fc25e35e393f794c193a.tar.gz openvpn-f2d6f3bc06db4f9e0815fc25e35e393f794c193a.tar.xz openvpn-f2d6f3bc06db4f9e0815fc25e35e393f794c193a.zip |
Merge getaddr_multi and getaddr6 into one function
the getaddr6 and getaddr_mutli functions are duplicates of each other.
Since we always require getaddrinfo to be present both function are merge
into one openvpn_getaddrinfo.
This functions also returns a standard struct addrinfo* so our resolve
interface is closer to the standard unix interface. The getaddr function
is a wrapper which provides backward compatibility for IPv4 addresses.
Ipv6 calls and calls to getaddr_multi are replaced with the new interface.
Signed-off-by: Arne Schwabe <arne@rfc2549.org>
Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: 1344333837-22076-1-git-send-email-arne@rfc2549.org
URL: http://article.gmane.org/gmane.network.openvpn.devel/6959
Signed-off-by: David Sommerseth <davids@redhat.com>
[DS: Applied proper indenting on the changes wherever needed]
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions