libvirt/src/network
Michal Privoznik 142c4b10fd networkGetDHCPLeases: Don't always report error if unable to read leases file
https://bugzilla.redhat.com/show_bug.cgi?id=1600468

If we are unable to read leases file (no matter what the reason
is), we return 0 - just like if there were no leases. However,
because we use virFileReadAll() an error is printed into the log.
Note that not all networks have leases file - only those for
which we start dnsmasq.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Erik Skultety <eskultet@redhat.com>
2018-07-26 11:39:11 +02:00
..
bridge_driver_linux.c util: move IP route & address object-related functions to virnetdevip.c 2016-06-26 19:33:09 -04:00
bridge_driver_nop.c
bridge_driver_platform.c
bridge_driver_platform.h network: allow opening with network:///system and network:///session URIs 2018-01-31 17:45:01 +00:00
bridge_driver.c networkGetDHCPLeases: Don't always report error if unable to read leases file 2018-07-26 11:39:11 +02:00
bridge_driver.h network: remove conditional declarations 2018-02-09 11:05:10 +00:00
default.xml
leaseshelper.c Use ATTRIBUTE_FALLTHROUGH 2017-06-12 19:11:30 -04:00
Makefile.inc.am make: split network driver build rules into network/Makefile.inc.am 2018-03-05 17:08:36 +00:00