On Mon, Apr 04, 2016 at 09:00:04PM +0000, Vasiliy Tolstov wrote: > Signed-off-by: Vasiliy Tolstov <v.tolstov@xxxxxxxxx> > --- > src/lxc/lxc_container.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/src/lxc/lxc_container.c b/src/lxc/lxc_container.c > index 348bbfbc01fc..a1deb0c00d4c 100644 > --- a/src/lxc/lxc_container.c > +++ b/src/lxc/lxc_container.c > @@ -520,7 +520,7 @@ static int lxcContainerRenameAndEnableInterfaces(virDomainDefPtr vmDef, > > VIR_DEBUG("Adding IP address '%s/%u' to '%s'", > ipStr, ip->prefix, newname); > - if (virNetDevSetIPAddress(newname, &ip->address, prefix) < 0) { > + if (virNetDevSetIPAddress(newname, &ip->address, &ip->peer, prefix) < 0) { > virReportError(VIR_ERR_SYSTEM_ERROR, > _("Failed to set IP address '%s' on %s"), > ipStr, newname); ACK Regards, Daniel -- |: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :| |: http://libvirt.org -o- http://virt-manager.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :| -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list