Date: Wed, 30 May 2018 11:45:30 +0000 (UTC) From: Hans Petter Selasky <hselasky@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r334378 - head/contrib/libpcap/pcap Message-ID: <201805301145.w4UBjUYX007321@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: hselasky Date: Wed May 30 11:45:29 2018 New Revision: 334378 URL: https://svnweb.freebsd.org/changeset/base/334378 Log: Hide unsupported remote capture definitions to avoid breakage in ports. Suggested by: antoine@ MFC after: 3 weeks Sponsored by: Mellanox Technologies Modified: head/contrib/libpcap/pcap/pcap.h Modified: head/contrib/libpcap/pcap/pcap.h ============================================================================== --- head/contrib/libpcap/pcap/pcap.h Wed May 30 08:34:19 2018 (r334377) +++ head/contrib/libpcap/pcap/pcap.h Wed May 30 11:45:29 2018 (r334378) @@ -607,6 +607,7 @@ PCAP_API void bpf_dump(const struct bpf_program *, int #endif /* _WIN32/MSDOS/UN*X */ +#if 0 /* Remote capture is disabled on FreeBSD */ /* * Remote capture definitions. * @@ -965,6 +966,7 @@ PCAP_API int pcap_remoteact_list(char *hostlist, char 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 }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201805301145.w4UBjUYX007321>