Get rid of the pkt_encap field in struct packet_info.
authorGuy Harris <guy@alum.mit.edu>
Tue, 6 Feb 2018 20:35:11 +0000 (12:35 -0800)
committerGuy Harris <guy@alum.mit.edu>
Tue, 6 Feb 2018 20:35:47 +0000 (20:35 +0000)
commitcb1a6528f968c3cd97660217abc1a6725ff5ba92
treeaee1d32c85897e2f769d56c454a17505cce0d4e6
parent6db88da7f7ffd7f75bb2e06e269bd28537f10ac1
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>
epan/dissectors/file-file.c
epan/dissectors/packet-frame.c
epan/dissectors/packet-nettl.c
epan/dissectors/packet-snort.c
epan/packet.c
epan/packet_info.h
epan/wslua/wslua_dumper.c