libvirt/tools/nss
Michal Privoznik 7f93905e45 nss: handle leases with infinite expiry time
After v6.3.0-rc1~64 a lease can have infinite expiry time. This
means that the expiration time will appear as a value of zero.
Do the expiration check only if the expiration time is not zero.

Fixes: 97a0aa2467
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
2021-01-04 15:33:31 +01:00
..
libvirt_guest_nss.syms nss: Introduce libvirt-guest module 2016-12-06 13:34:00 +01:00
libvirt_nss_bsd.syms nss: FreeBSD support 2016-03-30 10:21:44 +03:00
libvirt_nss_leases.c nss: handle leases with infinite expiry time 2021-01-04 15:33:31 +01:00
libvirt_nss_leases.h tools: avoid accidentally using files from gnulib 2019-08-08 13:32:02 +01:00
libvirt_nss_macs.c Don't pass NULL to yajl_free() 2020-03-30 16:11:13 +02:00
libvirt_nss_macs.h tools: avoid accidentally using files from gnulib 2019-08-08 13:32:02 +01:00
libvirt_nss.c lib: Prefer WITH_* prefix for #if conditionals 2020-09-02 10:28:10 +02:00
libvirt_nss.h lib: Prefer WITH_* prefix for #if conditionals 2020-09-02 10:28:10 +02:00
libvirt_nss.syms Implement _nss_libvirt_gethostbyname4_r 2016-03-18 17:29:53 +01:00
meson.build meson: tests: add nss specific tests 2020-08-03 09:27:06 +02:00