[libvirt] [PATCH] nwfilter: fix build error when pcap-config is not present

Ján Tomko jtomko at redhat.com
Thu Jun 7 21:01:15 UTC 2018


On Thu, Jun 07, 2018 at 03:46:27PM -0500, Brijesh Singh wrote:
>The compilation fails with the following error when pcap-config
>is not present on the host:
>
>nwfilter/nwfilter_learnipaddr.c:824:1: error: conflicting types for 'virNWFilterLearnIPAddress'
> virNWFilterLearnIPAddress(virNWFilterTechDriverPtr techdriver ATTRIBUTE_UNUSED,
>
> In file included from nwfilter/nwfilter_learnipaddr.c:57:0:
> nwfilter/nwfilter_learnipaddr.h:38:5: note: previous declaration of 'virNWFilterLearnIPAddress' was here
>  int virNWFilterLearnIPAddress(virNWFilterTechDriverPtr techdriver,
>
>Signed-off-by: Brijesh Singh <brijesh.singh at amd.com>
>---
> src/nwfilter/nwfilter_learnipaddr.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>

Reviewed-by: Ján Tomko <jtomko at redhat.com>

And pushed now.

Jano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20180607/1d37beec/attachment-0001.sig>


More information about the libvir-list mailing list