On Wed, May 30, 2018 at 11:09 AM, Hans Petter Selasky <h...@selasky.org> wrote: > On 05/30/18 12:41, Antoine Brodin wrote: >> >> No this won't solve the issue, libpcap from ports isn't compiled with >> remote support. > > > Hi, > > Remote support is for WIN32 only from what I can see. > > Did you try my suggestions? > > The port builds fine over here with my patches.
I tried your patch with libpcap from ports updated to last commit in github, it fails with the same error as with base libpcap. I suggest the attached patch which fixes the issue for me. (in my opinion upstream should generate the pcap/pcap.h file depending on the configure args) Cheers, Antoine
Index: contrib/libpcap/pcap/pcap.h =================================================================== --- contrib/libpcap/pcap/pcap.h (revision 334373) +++ contrib/libpcap/pcap/pcap.h (working copy) @@ -607,6 +607,7 @@ #endif /* _WIN32/MSDOS/UN*X */ +#if 0 /* Remote capture is disabled on FreeBSD */ /* * Remote capture definitions. * @@ -965,6 +966,7 @@ char *errbuf); PCAP_API int pcap_remoteact_close(const char *host, char *errbuf); PCAP_API void pcap_remoteact_cleanup(void); +#endif /* Remote capture is disabled on FreeBSD */ #ifdef __cplusplus }
_______________________________________________ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"