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 /epan/dissectors/packet-x25.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 'epan/dissectors/packet-x25.c')
-rw-r--r-- | epan/dissectors/packet-x25.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-x25.c b/epan/dissectors/packet-x25.c index 3ca2741425..ae67efb9af 100644 --- a/epan/dissectors/packet-x25.c +++ b/epan/dissectors/packet-x25.c @@ -1988,9 +1988,9 @@ static int dissect_x25_dir(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data _U_) { dissect_x25_common(tvb, pinfo, tree, - (pinfo->pseudo_header->x25.flags & FROM_DCE) ? X25_FROM_DCE : + (pinfo->pseudo_header->dte_dce.flags & FROM_DCE) ? X25_FROM_DCE : X25_FROM_DTE, - pinfo->pseudo_header->x25.flags & FROM_DCE); + pinfo->pseudo_header->dte_dce.flags & FROM_DCE); return tvb_captured_length(tvb); } |