[PATCH] util: re-add conditional for ifi_iqdrops field for macOS

Ján Tomko jtomko at redhat.com
Fri Sep 4 13:30:20 UTC 2020


On a Friday in 2020, Daniel P. Berrangé wrote:
>The conditional was removed in
>
>  commit ebbf8ebe4fa6f9d43b40673f0f2dad6bf50e2085
>  Author: Ján Tomko <jtomko at redhat.com>
>  Date:   Tue Sep 1 22:56:37 2020 +0200
>
>    util: virnetdevtap: stats: fix txdrop on FreeBSD
>
>That commit was correct about this no longer being required for FreeBSD,
>but missed that the code is also built on macOS.
>
>Rather than testing for this field in meson though, we can simply use
>a platform conditional test in the code.
>
>Signed-off-by: Daniel P. Berrangé <berrange at redhat.com>
>---
>
>Pushed to fix macOS CI build jobs
>

Thank you.

Jano

> src/util/virnetdevtap.c | 8 ++++++++
> 1 file changed, 8 insertions(+)
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20200904/78e35734/attachment-0001.sig>


More information about the libvir-list mailing list