aboutsummaryrefslogtreecommitdiffstats
path: root/epan/packet_info.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2018-02-06 12:35:11 -0800
committerGuy Harris <guy@alum.mit.edu>2018-02-06 20:35:47 +0000
commitcb1a6528f968c3cd97660217abc1a6725ff5ba92 (patch)
treeaee1d32c85897e2f769d56c454a17505cce0d4e6 /epan/packet_info.h
parent6db88da7f7ffd7f75bb2e06e269bd28537f10ac1 (diff)
Get rid of the pkt_encap field in struct packet_info.
pinfo->pkt_encap is jsut a copy of pinfo->phdr->pkt_encap; no need for the copy. Expand a comment while we're at it. Change-Id: I5fcfe694ecba42507f1d629d01440da0a0989501 Reviewed-on: https://code.wireshark.org/review/25643 Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'epan/packet_info.h')
-rw-r--r--epan/packet_info.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/epan/packet_info.h b/epan/packet_info.h
index b010f3bb5e..3799ee7d6f 100644
--- a/epan/packet_info.h
+++ b/epan/packet_info.h
@@ -60,7 +60,6 @@ typedef struct _packet_info {
guint32 num; /**< Frame number */
nstime_t abs_ts; /**< Packet absolute time stamp */
nstime_t rel_ts; /**< Relative timestamp (yes, it can be negative) */
- gint pkt_encap; /**< Per-packet encapsulation/data-link type */
frame_data *fd;
union wtap_pseudo_header *pseudo_header;
struct wtap_pkthdr *phdr; /**< Record metadata */