diff options
author | Guy Harris <guy@alum.mit.edu> | 2015-03-24 18:30:01 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2015-03-25 01:30:28 +0000 |
commit | 77bc38e498b169065909f446458fc70823884d51 (patch) | |
tree | d057f8d8a92194b3be9087e91825a5d19d818245 /ui/qt/lbm_lbtrm_transport_dialog.cpp | |
parent | 162f26625d9aff8bbafe5a796da7663c1e047211 (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 'ui/qt/lbm_lbtrm_transport_dialog.cpp')
0 files changed, 0 insertions, 0 deletions