diff options
author | Guy Harris <guy@alum.mit.edu> | 2012-05-28 00:31:27 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2012-05-28 00:31:27 +0000 |
commit | 53375198ec6e69374c4a1c21f2b5deff3f4ff810 (patch) | |
tree | 1106e567a265d264fee8b21bda57866a89462f96 /summary.h | |
parent | fb68fa844cfbb002b648cad4231883e6ef12a914 (diff) |
Don't use pcap LINKTYPE_ values in the iface_options structure, use
Wiretap encapsulation values; rename the field in question encap_type to
emphasize that. (Code that looks at that field already assumes it's a
Wiretap encapsulation value.)
For live captures, map the LINKTYPE_ value to a Wiretap encapsulation
value.
wtap_encap_string() never returns NULL, so don't check for a null return
value.
svn path=/trunk/; revision=42871
Diffstat (limited to 'summary.h')
-rw-r--r-- | summary.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -38,7 +38,7 @@ typedef struct iface_options_tag { gboolean drops_known; /**< TRUE if number of packet drops is known */ gboolean has_snap; /**< TRUE if maximum capture packet length is known */ int snap; /**< Maximum captured packet length */ - int linktype; /**< wiretap encapsulation type */ + int encap_type; /**< wiretap encapsulation type */ } iface_options; typedef struct _summary_tally { |