Hide unsupported remote capture definitions to avoid breakage in ports.

Suggested by:	antoine@
MFC after:	3 weeks
Sponsored by:	Mellanox Technologies
This commit is contained in:
Hans Petter Selasky 2018-05-30 11:45:29 +00:00
parent 7cf2653c60
commit 65b806b289
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=334378

View File

@ -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 sep, int size,
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
}