[Spice-devel] [spice-common PATCH] ssl_verify.c: Add IPv6 support

2015-09-07 Thread Lukas Venhoda
Add inet_pton and inet_ntop which supports IPv6 address. inet_aton left for compatibility. --- common/ssl_verify.c | 32 +++- 1 file changed, 23 insertions(+), 9 deletions(-) diff --git a/common/ssl_verify.c b/common/ssl_verify.c index a830800..d247d95 100644 ---

Re: [Spice-devel] [spice-common PATCH] ssl_verify.c: Add IPv6 support

2015-09-07 Thread Daniel P. Berrange
On Mon, Sep 07, 2015 at 06:55:47PM +0200, Lukas Venhoda wrote: > Add inet_pton and inet_ntop which supports IPv6 address. > inet_aton left for compatibility. You really should not use any of the inet_* functions, even the ones which technically support IPv6. Instead use