libpcap-1.5.0 introduced a function to enforce immediate mode (on all
platforms) which the follow-up patches will rely on.
Signed-off-by: Erik Skultety <eskultet(a)redhat.com>
---
libvirt.spec.in | 2 +-
m4/virt-libpcap.m4 | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/libvirt.spec.in b/libvirt.spec.in
index bbf9748582..b349d1bc7e 100644
--- a/libvirt.spec.in
+++ b/libvirt.spec.in
@@ -302,7 +302,7 @@ BuildRequires: yajl-devel
%if %{with_sanlock}
BuildRequires: sanlock-devel >= 2.4
%endif
-BuildRequires: libpcap-devel
+BuildRequires: libpcap-devel >= 1.5.0
BuildRequires: libnl3-devel
BuildRequires: libselinux-devel
BuildRequires: dnsmasq >= 2.41
diff --git a/m4/virt-libpcap.m4 b/m4/virt-libpcap.m4
index 8fa4889ec8..605c2fdea7 100644
--- a/m4/virt-libpcap.m4
+++ b/m4/virt-libpcap.m4
@@ -22,7 +22,7 @@ AC_DEFUN([LIBVIRT_ARG_LIBPCAP], [
])
AC_DEFUN([LIBVIRT_CHECK_LIBPCAP], [
- LIBPCAP_REQUIRED="1.0.0"
+ LIBPCAP_REQUIRED="1.5.0"
LIBPCAP_CONFIG="pcap-config"
LIBPCAP_CFLAGS=""
LIBPCAP_LIBS=""
--
2.24.1