mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 05:35:25 +00:00
b62ef64216
When parsing leases file, appendAddr() is called to append parsed tuple (address, expiry time, family) into an array. Whilst doing so, the array is searched for possible duplicate. This is done by comparing each item of the array by passed @family: if @family is AF_INET then the item is viewed as IPv4 address. Similarly, if @family is AF_INET6 then the item is viewed as IPv6 address. This is not exactly right - the array can contain addresses of both families and thus the address family of each item of the array must be considered. Signed-off-by: Michal Privoznik <mprivozn@redhat.com> Reviewed-by: Erik Skultety <eskultet@redhat.com> |
||
---|---|---|
.. | ||
libvirt_guest_nss.syms | ||
libvirt_nss_bsd.syms | ||
libvirt_nss_leases.c | ||
libvirt_nss_leases.h | ||
libvirt_nss_macs.c | ||
libvirt_nss_macs.h | ||
libvirt_nss.c | ||
libvirt_nss.h | ||
libvirt_nss.syms |