diff options
author | jake <jake@f5534014-38df-0310-8fa8-9805f1628bb7> | 2006-04-20 20:29:57 +0000 |
---|---|---|
committer | jake <jake@f5534014-38df-0310-8fa8-9805f1628bb7> | 2006-04-20 20:29:57 +0000 |
commit | 0ae220af1bf99c391e5a399e94cd12748b74250e (patch) | |
tree | d14bd9d3b95dd7111d3e54cc38c7e81c7b20aaf1 /epan/dissectors/packet-nettl.c | |
parent | b7764b3870374e6480581209dabc34c1ce1df1f5 (diff) |
From Mark C. Brown:
Small patch to set the direction correctly.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17934 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-nettl.c')
-rw-r--r-- | epan/dissectors/packet-nettl.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/epan/dissectors/packet-nettl.c b/epan/dissectors/packet-nettl.c index 4f5888ed96..e3857eb2d4 100644 --- a/epan/dissectors/packet-nettl.c +++ b/epan/dissectors/packet-nettl.c @@ -247,6 +247,10 @@ dissect_nettl(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) call_dissector(data_handle, tvb, pinfo, tree); break; case WTAP_ENCAP_NETTL_X25: + if (pinfo->pseudo_header->nettl.kind == NETTL_HDR_PDUIN) + pinfo->p2p_dir = P2P_DIR_RECV; + else if (pinfo->pseudo_header->nettl.kind == NETTL_HDR_PDUOUT) + pinfo->p2p_dir = P2P_DIR_SENT; if (pinfo->pseudo_header->nettl.subsys == NETTL_SUBSYS_SX25L2) call_dissector(lapb_handle, tvb, pinfo, tree); else |