aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-lapd.c
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2006-09-21 19:39:42 +0000
committerAnders Broman <anders.broman@ericsson.com>2006-09-21 19:39:42 +0000
commitc8f1354c14664be663a2cf3f8084dda39675e55a (patch)
treef744649a58696f2fa78637e8b7c38a426e14921a /epan/dissectors/packet-lapd.c
parent3b1726527a0e0bfaa6f2d80e8f3ee1ce870be3fc (diff)
Fix for bug http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1106
packet-lapd.c change on 2006-03-02 (17452) by etxrab swaps SRC/DST for the default case And added a comment to Q.931 svn path=/trunk/; revision=19275
Diffstat (limited to 'epan/dissectors/packet-lapd.c')
-rw-r--r--epan/dissectors/packet-lapd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-lapd.c b/epan/dissectors/packet-lapd.c
index d62a40e710..b97ca4f918 100644
--- a/epan/dissectors/packet-lapd.c
+++ b/epan/dissectors/packet-lapd.c
@@ -176,12 +176,12 @@ dissect_lapd(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
}
}
}
- else if (pinfo->p2p_dir == P2P_DIR_SENT) {
+ else if (pinfo->p2p_dir == P2P_DIR_RECV) {
is_response = cr ? FALSE : TRUE;
srcname = "Network";
dstname = "User";
}
- else if (pinfo->p2p_dir == P2P_DIR_RECV) {
+ else if (pinfo->p2p_dir == P2P_DIR_SENT) {
is_response = cr ? TRUE : FALSE;
srcname = "User";
dstname = "Network";