diff options
author | Guy Harris <guy@alum.mit.edu> | 2015-02-15 14:03:12 -0800 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2015-02-15 22:04:23 +0000 |
commit | 1917023fc157b896a23349c0eca8c95f22f2fb6f (patch) | |
tree | f7896f2b2d0ed0b9148327041da1a3556d6bef52 /capture_info.c | |
parent | ad6d259e1e709cc1654c9c134553e95075c9ac2f (diff) | |
download | wireshark-1917023fc157b896a23349c0eca8c95f22f2fb6f.tar.gz |
Don't base interpretation of LINKTYPE_ values on DLT_ value definitions.
Instead, explicitly check for particular build platforms. This means
that the interpretation of the link-layer type values with different
meanings on different platforms won't be dependent on the particular
version of libpcap with which Wireshark happens to be built, and also
means that we don't have to fix pcap-common.c to include pcap.h or
net/bpf.h.
Fix some comments while we're at it.
Bug: 10956
Change-Id: If331d9b92081fb0bdf416620fb2ad8dce57dea6b
Reviewed-on: https://code.wireshark.org/review/7140
Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'capture_info.c')
0 files changed, 0 insertions, 0 deletions