]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Fix a invalid usage of virDomainNetDef in OpenVZ driver
authorAlvaro Polo <apoloval@gmail.com>
Tue, 4 Jun 2013 07:44:32 +0000 (09:44 +0200)
committerEric Blake <eblake@redhat.com>
Tue, 4 Jun 2013 15:45:06 +0000 (09:45 -0600)
commit7a5ac8352073bd9babbec76d2ef74df7ab8e61eb
tree38dd9eb1071518917ce7199a40008103741e7c0c
parent3452400673c0e54b6fff039cbdaef1c2123e9578
Fix a invalid usage of virDomainNetDef in OpenVZ driver

OpenVZ was accessing ethernet data to obtain the guest iface name
regardless the domain is configured to use ethernet or bridged
networking. This prevented the guest network interface to be rightly
named for bridged networking.
src/openvz/openvz_driver.c