Re: [Openvpn-devel] [PATCH] ifconfig-ipv6(-push): allow using hostnames

2017-02-10 Thread Antonio Quartulli
On Fri, Feb 10, 2017 at 10:36:07PM +0800, Antonio Quartulli wrote: > diff --git a/src/openvpn/socket.c b/src/openvpn/socket.c > index 82d0967d..55ff7737 100644 > --- a/src/openvpn/socket.c > +++ b/src/openvpn/socket.c > @@ -75,12 +75,102 @@ sf2gaf(const unsigned int getaddr_flags, > /* > *

[Openvpn-devel] [PATCH] ifconfig-ipv6(-push): allow using hostnames

2017-02-10 Thread Antonio Quartulli
Similarly to ifconfig(-push), its IPv6 counterpart is now able to accept hostnames as well instead of IP addresses in numeric form. Basically this means that the user is now allowed to specify something like this: ifconfig-ipv6-push my.hostname.cx/64 This is exactly the same behaviour that we