CrabeDeFrance / rtshark

Rust interface to tshark application
Other
33 stars 11 forks source link

Field with no 'show' attribute #1

Closed alset0326 closed 2 years ago

alset0326 commented 2 years ago

An ICMP Layer may have this field

 <field name="data" value="0a"/>

which would cause an err "xml lookup error: no key 'show' in ' name=\"data\" value=\"0a\"'"

Maybe we should consider 'value' as another key as 'show' do?

See pyshark for field handling

CrabeDeFrance commented 2 years ago

Hi, thanks for reporting this issue and the pyshark tip. I added the same algorithm in version 2.2.0. Closing this issue for now,, please open it again if you still have some troubles.