From: Roy Marples Date: Thu, 11 Jun 2026 20:02:55 +0000 (+0000) Subject: BPF: fix libpcap compile X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=82bbc038470df64c47b9dfdb989767f0b944992e;p=thirdparty%2Fdhcpcd.git BPF: fix libpcap compile --- diff --git a/src/bpf-pcap.c b/src/bpf-pcap.c index d3712b42..4eaa3858 100644 --- a/src/bpf-pcap.c +++ b/src/bpf-pcap.c @@ -88,8 +88,8 @@ bpf_open(const struct interface *ifp, PCAP_CHECK(pcap_set_promisc(handle, 0), "pcap_set_promisc"); #ifdef HAVE_PCAP_SET_IMMEDIATE_MODE PCAP_CHECK(pcap_set_immediate_mode(handle, 1), -#endif "pcap_set_immediate_mode"); +#endif err = pcap_activate(handle); if (err != 0) {