On 07/08/12 12:03, Arne Schwabe wrote: > 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 <[email protected]> > --- > src/openvpn/route.c | 50 ++--- > src/openvpn/socket.c | 594 > ++++++++++++++++---------------------------------- > src/openvpn/socket.h | 17 +- > 3 files changed, 220 insertions(+), 441 deletions(-)
Applied to master. commit f2d6f3bc06db4f9e0815fc25e35e393f794c193a Author: Arne Schwabe <[email protected]> List-Post: [email protected] Date: Tue Aug 7 12:03:57 2012 +0200 Merge getaddr_multi and getaddr6 into one function Signed-off-by: Arne Schwabe <[email protected]> Acked-by: Gert Doering <[email protected]> Message-Id: [email protected] URL: http://article.gmane.org/gmane.network.openvpn.devel/6959 Signed-off-by: David Sommerseth <[email protected]> kind regards, David Sommerseth
signature.asc
Description: OpenPGP digital signature
