Re: [libvirt] [PATCH 2/6] leaseshelper: split out custom leases file read

2016-01-19 Thread Daniel P. Berrange
On Tue, Jan 19, 2016 at 10:54:01AM +0100, Ján Tomko wrote: > 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(). > --- >

[libvirt] [PATCH 2/6] leaseshelper: split out custom leases file read

2016-01-19 Thread Ján Tomko
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 | 194 + 1 file