aboutsummaryrefslogtreecommitdiffstats
path: root/wiretap/k12.c
diff options
context:
space:
mode:
authorGuy Harris <gharris@sonic.net>2023-03-21 22:00:54 -0700
committerGuy Harris <gharris@sonic.net>2023-03-21 22:00:54 -0700
commitdd47dfb1dae714df192298bdd61abd094879caaa (patch)
treeaa0956404cd11a04847763c1d1b0947007fb9d50 /wiretap/k12.c
parent2be8ff7c3f2ebeeac4983c4d39307cfeb370f79d (diff)
wiretap: rename the wtap_dumper field "encap" to "file_encap".
That indicates that it's a *per-file* encapsulation, not just some unspecified type of encapsulation such as per-packet or per-interface.
Diffstat (limited to 'wiretap/k12.c')
-rw-r--r--wiretap/k12.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/wiretap/k12.c b/wiretap/k12.c
index de4c48149d..d783542dd2 100644
--- a/wiretap/k12.c
+++ b/wiretap/k12.c
@@ -1294,7 +1294,7 @@ static gboolean k12_dump(wtap_dumper *wdh, const wtap_rec *rec,
* Make sure this packet doesn't have a link-layer type that
* differs from the one for the file.
*/
- if (wdh->encap != rec->rec_header.packet_header.pkt_encap) {
+ if (wdh->file_encap != rec->rec_header.packet_header.pkt_encap) {
*err = WTAP_ERR_ENCAP_PER_PACKET_UNSUPPORTED;
return FALSE;
}