aboutsummaryrefslogtreecommitdiffstats
path: root/packet-q931.c
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2003-06-25 06:12:13 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2003-06-25 06:12:13 +0000
commit17af9c0c3599e00e2ef86eab7a00104ef243352f (patch)
treee85a05582cd97b0837853ca0b8437bb9fd84327d /packet-q931.c
parent69cf4da9772ca400a3c86d1bb487642a103c29b1 (diff)
As per the previous checkin, 0x08 bit means a *non*-locking shift, not a
locking shift; rename the #define for the bit. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@7926 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet-q931.c')
-rw-r--r--packet-q931.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/packet-q931.c b/packet-q931.c
index aecd553c73..6bdc254565 100644
--- a/packet-q931.c
+++ b/packet-q931.c
@@ -2,7 +2,7 @@
* Routines for Q.931 frame disassembly
* Guy Harris <guy@alum.mit.edu>
*
- * $Id: packet-q931.c,v 1.54 2003/06/24 05:58:32 guy Exp $
+ * $Id: packet-q931.c,v 1.55 2003/06/25 06:12:13 guy Exp $
*
* Modified by Andreas Sikkema for possible use with H.323
*
@@ -167,7 +167,7 @@ static const true_false_string tfs_call_ref_flag = {
#define Q931_IE_SO_IE_MASK 0x0F /* IE mask */
#define Q931_IE_SHIFT 0x90
-#define Q931_IE_SHIFT_LOCKING 0x08 /* locking shift */
+#define Q931_IE_SHIFT_NON_LOCKING 0x08 /* non-locking shift */
#define Q931_IE_SHIFT_CODESET 0x0F /* codeset */
#define Q931_IE_MORE_DATA_OR_SEND_COMP 0xA0 /* More Data or Sending Complete */
@@ -2175,7 +2175,7 @@ dissect_q931_pdu(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
switch (info_element & Q931_IE_SO_IDENTIFIER_MASK) {
case Q931_IE_SHIFT:
- non_locking_shift = info_element & Q931_IE_SHIFT_LOCKING;
+ non_locking_shift = info_element & Q931_IE_SHIFT_NON_LOCKING;
codeset = info_element & Q931_IE_SHIFT_CODESET;
if (!non_locking_shift)
locked_codeset = codeset;