aboutsummaryrefslogtreecommitdiffstats
path: root/epan/packet.c
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.c
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.c')
-rw-r--r--epan/packet.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/epan/packet.c b/epan/packet.c
index 68f41fc0d6..e167186b64 100644
--- a/epan/packet.c
+++ b/epan/packet.c
@@ -512,7 +512,6 @@ dissect_record(epan_dissect_t *edt, int file_type_subtype,
edt->pi.presence_flags |= PINFO_HAS_TS;
edt->pi.abs_ts = fd->abs_ts;
}
- edt->pi.pkt_encap = phdr->pkt_encap;
edt->pi.fd = fd;
edt->pi.phdr = phdr;
edt->pi.pseudo_header = &phdr->pseudo_header;