Re: [PATCH] ipv6 check for :: address

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 01/16/2015 02:27 PM, Cédric Bosdonnat wrote:
> Hi John,
> 
> Here is a possible fix for the coverity issue you mentioned. Since ipv6
> addresses are too big to be converted to a single integer, I just looped
> over the array... not sure that is the most elegant way to do it.
> 
> Cédric Bosdonnat (1):
>   Coverity fix: properly check for 0 ipv6 address.
> 
>  src/util/virsocketaddr.c | 9 ++++++++-
>  1 file changed, 8 insertions(+), 1 deletion(-)
> 

I don't see the actual patch, but you can use the virSocketAddrIsWildcard
helper for the most elegant way.

Jan

Attachment: signature.asc
Description: OpenPGP digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]