diff options
author | Hans Petter Selasky <hselasky@FreeBSD.org> | 2018-05-30 11:45:29 +0000 |
---|---|---|
committer | Hans Petter Selasky <hselasky@FreeBSD.org> | 2018-05-30 11:45:29 +0000 |
commit | 65b806b289705db6e875beee8f0dc829ce46190b (patch) | |
tree | e29a82281d1eaf162d8356d47c3762dffc8368b9 /contrib/libpcap/pcap | |
parent | 7cf2653c6004361cfcc78acbffd3fd6d433870aa (diff) | |
download | src-65b806b289705db6e875beee8f0dc829ce46190b.tar.gz src-65b806b289705db6e875beee8f0dc829ce46190b.zip |
Hide unsupported remote capture definitions to avoid breakage in ports.
Suggested by: antoine@
MFC after: 3 weeks
Sponsored by: Mellanox Technologies
Notes
Notes:
svn path=/head/; revision=334378
Diffstat (limited to 'contrib/libpcap/pcap')
-rw-r--r-- | contrib/libpcap/pcap/pcap.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/contrib/libpcap/pcap/pcap.h b/contrib/libpcap/pcap/pcap.h index f809dd1145e4..41959afb41ea 100644 --- a/contrib/libpcap/pcap/pcap.h +++ b/contrib/libpcap/pcap/pcap.h @@ -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 } |