diff options
author | Guy Harris <guy@alum.mit.edu> | 2018-09-25 17:12:43 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2018-09-26 00:15:26 +0000 |
commit | c9f19e4af767dd80550e795c2ceee52b50db308b (patch) | |
tree | adda84d64b0c21e49415a22af0652d41807c9abb /wiretap/eyesdn.c | |
parent | f9129721b2e504987484b8def3b56d9eae30b4db (diff) |
Rename the pseudo-header for X.25, V.120, and Frame Relay.
It's not just for X.25, it's for anything that has the notion of Data
Terminal Equipment and Data Communications Equipment; call it "dte_dce",
not "x25".
Change-Id: I3d51fec8b424e91ffd6d59895f50fc5ece791b08
Reviewed-on: https://code.wireshark.org/review/29834
Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'wiretap/eyesdn.c')
-rw-r--r-- | wiretap/eyesdn.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wiretap/eyesdn.c b/wiretap/eyesdn.c index 1a4cc73f5e..0c5a8e268c 100644 --- a/wiretap/eyesdn.c +++ b/wiretap/eyesdn.c @@ -224,7 +224,7 @@ read_eyesdn_rec(FILE_T fh, wtap_rec *rec, Buffer *buf, int *err, case EYESDN_ENCAP_LAPB: /* X.25 via LAPB */ rec->rec_header.packet_header.pkt_encap = WTAP_ENCAP_LAPB; - pseudo_header->x25.flags = (direction & 1) ? 0 : 0x80; + pseudo_header->dte_dce.flags = (direction & 1) ? 0 : 0x80; break; case EYESDN_ENCAP_ATM: { /* ATM cells */ |