diff options
author | Anders Broman <anders.broman@ericsson.com> | 2012-05-31 13:23:42 +0000 |
---|---|---|
committer | Anders Broman <anders.broman@ericsson.com> | 2012-05-31 13:23:42 +0000 |
commit | b9e5955f466e5b5194f224c629374403f5d23e8e (patch) | |
tree | de73ef4ec12351c8e747c9e33e486b5432061cb6 /epan/dissectors/packet-umts_fp.c | |
parent | 08c7db04210ee17253fd48c58cf53c3cf2fa082c (diff) |
Set dir if we don't have it.
svn path=/trunk/; revision=42945
Diffstat (limited to 'epan/dissectors/packet-umts_fp.c')
-rw-r--r-- | epan/dissectors/packet-umts_fp.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/epan/dissectors/packet-umts_fp.c b/epan/dissectors/packet-umts_fp.c index 0f34432f55..7fabf7267b 100644 --- a/epan/dissectors/packet-umts_fp.c +++ b/epan/dissectors/packet-umts_fp.c @@ -3393,7 +3393,13 @@ static void dissect_fp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) } - + if(pinfo->p2p_dir == P2P_DIR_UNKNOWN){ + if(pinfo->link_dir==P2P_DIR_UL){ + pinfo->p2p_dir = P2P_DIR_RECV; + }else{ + pinfo->p2p_dir = P2P_DIR_SENT; + } + } /* Can't dissect anything without it... */ if (p_fp_info == NULL) { ti = proto_tree_add_text(fp_tree, tvb, offset, -1, |