]> git.ipfire.org Git - thirdparty/libvirt.git/commit
leaseshelper: split out custom leases file read
authorJán Tomko <jtomko@redhat.com>
Thu, 14 Jan 2016 12:32:23 +0000 (13:32 +0100)
committerJán Tomko <jtomko@redhat.com>
Wed, 20 Jan 2016 08:33:44 +0000 (09:33 +0100)
commit7f9c425bfbb9f3dd4a62516b25bb2756b24111d1
treee660bb382fe48cbe4e5566a40b7996128b1c1d0e
parent9e7e7662bfe8b5637702844727c4f6484554b257
leaseshelper: split out custom leases file read

Introduce virLeaseReadCustomLeaseFile which will populate
the new leases array with all the leases, except for expired
ones and the ones matching 'ip_to_delete'.

This removes five variables from main().
src/network/leaseshelper.c