Conrad Meyer wrote:
Hi all,
The recent commit with SHA1 cc0e8c244d080f56392278e836cc378ba848e7aa,
"util: Functions to update host network device's multicast filter,"
breaks the build on FreeBSD, so please address this before 1.2.10
release.
Here is the output from Clang:
CC util/libvirt_util_la-virnetdev.lo
util/virnetdev.c:1995:9: error: no member named 'ifr_hwaddr' in 'struct
ifreq'
ifr.ifr_hwaddr.sa_family = AF_UNSPEC;
~~~ ^
util/virnetdev.c:1996:52: error: no member named 'ifr_hwaddr' in 'struct
ifreq'
virMacAddrGetRaw(macaddr, (unsigned char *)ifr.ifr_hwaddr.sa_data);
~~~ ^
util/virnetdev.c:2043:9: error: no member named 'ifr_hwaddr' in 'struct
ifreq'
ifr.ifr_hwaddr.sa_family = AF_UNSPEC;
~~~ ^
util/virnetdev.c:2044:52: error: no member named 'ifr_hwaddr' in 'struct
ifreq'
virMacAddrGetRaw(macaddr, (unsigned char *)ifr.ifr_hwaddr.sa_data);
~~~ ^
4 errors generated.
I have fixes for that, will send the patches shortly.
Roman Bogorodskiy