diff options
author | Jaap Keuter <jaap.keuter@xs4all.nl> | 2006-04-20 20:29:57 +0000 |
---|---|---|
committer | Jaap Keuter <jaap.keuter@xs4all.nl> | 2006-04-20 20:29:57 +0000 |
commit | 947ae3c301ae9e18a5823de8c7b42831c57d579f (patch) | |
tree | d14bd9d3b95dd7111d3e54cc38c7e81c7b20aaf1 /epan/dissectors/packet-nettl.c | |
parent | ce15cc9233a37c5d2fd3038d7c32b92fb8be399a (diff) |
From Mark C. Brown:
Small patch to set the direction correctly.
svn path=/trunk/; revision=17934
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 |