diff options
author | Martin Kaiser <wireshark@kaiser.cx> | 2015-11-18 18:34:36 +0100 |
---|---|---|
committer | Martin Kaiser <wireshark@kaiser.cx> | 2015-11-18 17:37:38 +0000 |
commit | 8826db5823480697b73103de3434f5c662517e9a (patch) | |
tree | a593e70827f856c9230cc8b1ad29df561c9a60f5 /epan/dissectors/packet-iso14443.c | |
parent | 73ee9178414e8d6bf7df3f508c407920c47359ee (diff) |
[iso14443] add simple components of an R-block
an S-block has no block number, fix this while at it
Change-Id: I16113fde5f78d77d7db6b7cec8d4dfa46f0187aa
Reviewed-on: https://code.wireshark.org/review/11944
Reviewed-by: Martin Kaiser <wireshark@kaiser.cx>
Diffstat (limited to 'epan/dissectors/packet-iso14443.c')
-rw-r--r-- | epan/dissectors/packet-iso14443.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/epan/dissectors/packet-iso14443.c b/epan/dissectors/packet-iso14443.c index f8d4d9a266..5ca135c33c 100644 --- a/epan/dissectors/packet-iso14443.c +++ b/epan/dissectors/packet-iso14443.c @@ -569,12 +569,16 @@ dissect_iso14443_cmd_type_block(tvbuff_t *tvb, packet_info *pinfo, proto_tree_add_item(pcb_tree, hf_iso14443_blk_num, tvb, offset, 1, ENC_BIG_ENDIAN); } - else if (block_type == S_BLOCK_TYPE) { + else if (block_type == R_BLOCK_TYPE) { proto_tree_add_item(pcb_tree, hf_iso14443_cid_following, tvb, offset, 1, ENC_BIG_ENDIAN); proto_tree_add_item(pcb_tree, hf_iso14443_blk_num, tvb, offset, 1, ENC_BIG_ENDIAN); } + else if (block_type == R_BLOCK_TYPE) { + proto_tree_add_item(pcb_tree, hf_iso14443_cid_following, + tvb, offset, 1, ENC_BIG_ENDIAN); + } if (bt_str) { proto_item_append_text(ti, ": %s", bt_str); col_set_str(pinfo->cinfo, COL_INFO, bt_str); |