aboutsummaryrefslogtreecommitdiffstats
path: root/tshark.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2015-03-24 18:30:01 -0700
committerGuy Harris <guy@alum.mit.edu>2015-03-25 01:30:28 +0000
commit77bc38e498b169065909f446458fc70823884d51 (patch)
treed057f8d8a92194b3be9087e91825a5d19d818245 /tshark.c
parent162f26625d9aff8bbafe5a796da7663c1e047211 (diff)
Clean up handling of buffer size.
Instead of a twisty little maze of #if, #ifdefs, and #elifs, all different, define HAVE_BUFFER_SIZE upfront iff we can set the buffer size - i.e., if this is Win32, and thus we're using WinPcap, or if we have pcap_create() and thus pcap_set_buffer_size() - and use that to govern whether to have a buffer size setting or not. Always put the buffer size setting in the right vertical box. If that doesn't work well for some configurations of available interface knobs, feel free to change the checks, but please make it less opaque what's going on (include a comment if necessary). Change-Id: I384c601982b470ae08de271431eac06d6c925332 Reviewed-on: https://code.wireshark.org/review/7814 Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'tshark.c')
0 files changed, 0 insertions, 0 deletions