diff options
author | Robert Grange <robionekenobi@bluewin.ch> | 2015-08-13 15:35:01 +0200 |
---|---|---|
committer | Pascal Quantin <pascal.quantin@gmail.com> | 2015-08-23 16:38:17 +0000 |
commit | cc7afd29d8f7b6f46cc82ad81137f368011688fa (patch) | |
tree | fd81df6c11de71c5efbb545590cc812c69f436e9 /epan/dissectors/packet-mq.c | |
parent | 89ff46e63002f1f67adcb8760edd1212ebab96ab (diff) | |
download | wireshark-cc7afd29d8f7b6f46cc82ad81137f368011688fa.tar.gz |
packet-mq: Add new Const/Def for WMQ800 FP3
Add new Const/Def for WMQ800 FP3
Improve Detection of EBCDIC String in MQCONN_REPLY
Add Value in comments
Change-Id: I695a3afa64fee7f22918f68540901c97dfd38464
Reviewed-on: https://code.wireshark.org/review/10012
Reviewed-by: Robert Grange <robionekenobi@bluewin.ch>
Reviewed-by: Michael Mann <mmann78@netscape.net>
Petri-Dish: Michael Mann <mmann78@netscape.net>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-mq.c')
-rw-r--r-- | epan/dissectors/packet-mq.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/epan/dissectors/packet-mq.c b/epan/dissectors/packet-mq.c index e0c753ec25..4cc9a0cc82 100644 --- a/epan/dissectors/packet-mq.c +++ b/epan/dissectors/packet-mq.c @@ -1397,6 +1397,8 @@ DEF_VALSB(notifcode) DEF_VALS2(NC_MESSAGE_TOO_LARGE , "MESSAGE_TOO_LARGE"), DEF_VALS2(NC_STREAMING_FAILURE , "STREAMING_FAILURE"), DEF_VALS2(NC_CLIENT_ASYNC_EMPTY, "CLIENT_ASYNC_EMPTY"), + DEF_VALS2(NC_STREAMING_TXN_PAUSED, "STREAMING_TXN_PAUSED"), + DEF_VALS2(NC_RECONNECTION_COMPLETE, "RECONNECTION_COMPLETE"), DEF_VALSE; DEF_VALSB(spi_verbs) @@ -2813,7 +2815,10 @@ static void dissect_mq_pdu(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) else iCod = ENC_BIG_ENDIAN; cChr = tvb_get_guint8(tvb, offset + 48); - if (cChr >='A' && cChr <='Z') + if ((cChr >= 'A' && cChr <= 'Z') || + (cChr >= 'a' && cChr <= 'z') || + (cChr >= '0' && cChr <= '9') || + (cChr == '\\')) { iEnc = p_mq_parm->mq_str_enc; } |