svn commit: r334378 - head/contrib/libpcap/pcap

Hans Petter Selasky hselasky at FreeBSD.org
Wed May 30 11:45:31 UTC 2018


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
 }


More information about the svn-src-head mailing list