Re: [PATCH v2 1/2] virsocket: Introduce virSocketAddrIsAny

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

 



On Thu, Jun 06, 2013 at 18:11:39 +0200, Michal Privoznik wrote:
> This internal API checks, if passed address is ANYCAST address.
> ---
>  src/libvirt_private.syms |  1 +
>  src/util/virsocketaddr.c | 20 ++++++++++++++++++++
>  src/util/virsocketaddr.h |  1 +
>  tests/sockettest.c       | 38 ++++++++++++++++++++++++++++++++++++++
>  4 files changed, 60 insertions(+)
> 
> diff --git a/src/libvirt_private.syms b/src/libvirt_private.syms
> index b93629f..1ea7467 100644
> --- a/src/libvirt_private.syms
> +++ b/src/libvirt_private.syms
> @@ -1782,6 +1782,7 @@ virSocketAddrGetPort;
>  virSocketAddrGetRange;
>  virSocketAddrIsNetmask;
>  virSocketAddrIsPrivate;
> +virSocketAddrIsWildcard;

I think the idea was to replace Anycast with Wildcard in tests but keep
virSocketAddrIsAny as the API name. Otherwise, ACK series.

Jirka

--
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]