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/netxray.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/netxray.c')
-rw-r--r-- | wiretap/netxray.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/wiretap/netxray.c b/wiretap/netxray.c index af2c5f3109..816cf8c766 100644 --- a/wiretap/netxray.c +++ b/wiretap/netxray.c @@ -1350,7 +1350,7 @@ netxray_process_rec_header(wtap *wth, FILE_T fh, wtap_rec *rec, * is the direction flag. (Probably true for other * HDLC encapsulations as well.) */ - rec->rec_header.packet_header.pseudo_header.x25.flags = + rec->rec_header.packet_header.pseudo_header.dte_dce.flags = (hdr.hdr_2_x.xxx[12] & 0x01) ? 0x00 : FROM_DCE; /* @@ -1971,7 +1971,7 @@ netxray_dump_2_0(wtap_dumper *wdh, break; case WTAP_ENCAP_FRELAY_WITH_PHDR: - rec_hdr.xxx[12] |= (pseudo_header->x25.flags & FROM_DCE) ? 0x00 : 0x01; + rec_hdr.xxx[12] |= (pseudo_header->dte_dce.flags & FROM_DCE) ? 0x00 : 0x01; break; } |