[libvirt] [PATCH v2] nwfilter: Enable detection of multiple IP addresses

Eric Blake eblake at redhat.com
Tue Nov 22 23:21:32 UTC 2011


On 11/22/2011 04:07 PM, Stefan Berger wrote:
> In preparation of DHCP Snooping and the detection of multiple IP
> addresses per interface:
> 
> The hash table that is used to collect the detected IP address of an
> interface can so far only handle one IP address per interface. With
> this patch we extend this to allow it to handle a list of IP addresses.
> 
> Above changes the returned variable type of virNWFilterGetIpAddrForIfname()
> from char * to virNWFilterVarValuePtr; adapt all existing functions calling
> this function.
> 
> ---
> 
> v2:
>  - fixed logic bug pointed out by Eric Blake
>  - sorted symbols

ACK.

-- 
Eric Blake   eblake at redhat.com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 620 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20111122/02e62b62/attachment-0001.sig>


More information about the libvir-list mailing list