]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virnetdev: stub virNetDev{Add,Del}Multi on FreeBSD
authorRoman Bogorodskiy <bogorodskiy@gmail.com>
Wed, 29 Oct 2014 18:20:47 +0000 (21:20 +0300)
committerRoman Bogorodskiy <bogorodskiy@gmail.com>
Thu, 30 Oct 2014 04:59:39 +0000 (07:59 +0300)
commit00fa136d0b8c7e859f9eb140f9a0500cd3def1e0
tree7ae3704124aa4176a55a89e16b62b77e46c71a62
parent9babbaa5fe38a433cef759a930e49d8291f040a8
virnetdev: stub virNetDev{Add,Del}Multi on FreeBSD

Currently, build fails on FreeBSD because its struct ifreq does not
have ifr_hwaddr member. In order to fix that, check if this member
is present, otherwise fall back to the stub version of the
virNetDev{Add,Del}Multi functions.
configure.ac
src/util/virnetdev.c