summaryrefslogtreecommitdiff
path: root/wiretap/wtap.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2017-06-03 12:58:36 -0700
committerGuy Harris <guy@alum.mit.edu>2017-06-03 19:59:08 +0000
commit30c86f8b34233b1cf262c14660d32388bc7362d9 (patch)
tree1930ddcdc75ef79a170bf474b1a4550a88a7a6de /wiretap/wtap.h
parent69ed5d5841605c63cbe017a2a0006f4085b8bb23 (diff)
downloadwireshark-30c86f8b34233b1cf262c14660d32388bc7362d9.tar.gz
Don't keep the pcap/pcapng link-layer header type as interface data.
Either 1) it can be determined from the libwiretap encapsulation type, in which case it's redundant information or 2) there *is* no pcap/pcapng link-layer header type for that encapsulation type, in which case you need to check for the attempt to determine it failing and handle that failure appropriately. Change-Id: Ie9557b513365c1fc8c6df74b9c8239e29aad46bc Reviewed-on: https://code.wireshark.org/review/21924 Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'wiretap/wtap.h')
-rw-r--r--wiretap/wtap.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/wiretap/wtap.h b/wiretap/wtap.h
index 957dc76c6b..ee68a8eabe 100644
--- a/wiretap/wtap.h
+++ b/wiretap/wtap.h
@@ -1286,7 +1286,6 @@ typedef struct wtapng_if_descr_mandatory_s {
guint64 time_units_per_second;
int tsprecision; /**< WTAP_TSPREC_ value for this interface */
- guint16 link_type;
guint32 snap_len;
guint8 num_stat_entries;