diff options
author | Pascal Quantin <pascal.quantin@gmail.com> | 2016-03-22 11:18:19 +0100 |
---|---|---|
committer | Martin Kaiser <wireshark@kaiser.cx> | 2016-03-22 11:52:18 +0000 |
commit | d20c69c3effee8ca170e5f0c93d08ebd7a70f9ba (patch) | |
tree | 0db4840481e506dbd059615823096bb932b8e21d /epan/dissectors/packet-iso7816.c | |
parent | c362dc7a52c595237223938c0ad20304a5528017 (diff) |
ISO 7816: fix filters for Fi and Di fields
They use proto_tree_add_uint_format() function to build an interpreted value, so they should not apply the byte bitmask
Change-Id: I29f70f567d41a8a44a34f3f0bc477fbc04b11b29
Reviewed-on: https://code.wireshark.org/review/14553
Reviewed-by: Martin Kaiser <wireshark@kaiser.cx>
Diffstat (limited to 'epan/dissectors/packet-iso7816.c')
-rw-r--r-- | epan/dissectors/packet-iso7816.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-iso7816.c b/epan/dissectors/packet-iso7816.c index ce9362e735..c388bb2c30 100644 --- a/epan/dissectors/packet-iso7816.c +++ b/epan/dissectors/packet-iso7816.c @@ -765,11 +765,11 @@ proto_register_iso7816(void) }, { &hf_iso7816_atr_ta1_fi, { "Fi", "iso7816.atr.ta1.fi", - FT_UINT16, BASE_DEC, NULL, 0xF0, NULL, HFILL } + FT_UINT16, BASE_DEC, NULL, 0, NULL, HFILL } }, { &hf_iso7816_atr_ta1_di, { "Di", "iso7816.atr.ta1.di", - FT_UINT8, BASE_HEX, NULL, 0x0F, NULL, HFILL } + FT_UINT8, BASE_DEC, NULL, 0, NULL, HFILL } }, { &hf_iso7816_atr_tb, { "Interface character TB(i)", "iso7816.atr.tb", |