diff options
author | Guy Harris <guy@alum.mit.edu> | 2016-06-30 21:29:14 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2016-06-30 21:29:31 -0700 |
commit | 56889e2bb6d732af2fd881bc24e45a2c1a51e38b (patch) | |
tree | 0a0b9d52d40222be4eb71d82828cea02e8047931 /gencode.c | |
parent | 6d0826f3abc912db6bc2916e725291cb16d08b90 (diff) |
Clean up {DAG, Septel, Myricom SNF}-only builds.
In the core code, treat them similarly to other builds. In the
configure script, ensure that no other pcap-XXX.c file is built, so we
have only the entries for the capture mechanism in question in the
tables for pcap_findalldevs() and pcap_create(), so that those routines
are the only ones called. If XXX_ONLY is defined in pcap-XXX.c, define
a stub pcap_platform_finddevs() that finds no regular interfaces and a
stub pcap_create_interface() that fails with a "we only support XXX"
error message.
Diffstat (limited to 'gencode.c')
0 files changed, 0 insertions, 0 deletions