summaryrefslogtreecommitdiff
path: root/summary.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2012-05-28 00:31:27 +0000
committerGuy Harris <guy@alum.mit.edu>2012-05-28 00:31:27 +0000
commit53375198ec6e69374c4a1c21f2b5deff3f4ff810 (patch)
tree1106e567a265d264fee8b21bda57866a89462f96 /summary.h
parentfb68fa844cfbb002b648cad4231883e6ef12a914 (diff)
downloadwireshark-53375198ec6e69374c4a1c21f2b5deff3f4ff810.tar.gz
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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/summary.h b/summary.h
index a26704b921..21df0c0de8 100644
--- a/summary.h
+++ b/summary.h
@@ -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 {