On Thu, Jan 09, 2020 at 01:45:59PM +0100, Michal Privoznik wrote: > From: Julio Faracco <jcfaracco@xxxxxxxxx> > > Since there is no guest agent in LXC world (yet), we can > implement _LEASE flag only. > > Signed-off-by: Michal Privoznik <mprivozn@xxxxxxxxxx> > + > + for (j = 0; j < n_leases; j++) { > + virNetworkDHCPLeasePtr lease = leases[j]; > + > + if (lease->hostname && !hostname) > + hostname = g_strdup(lease->hostname); Same comment with using a break. Reviewed-by: Erik Skultety <eskultet@xxxxxxxxxx> -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list