Wireshark-commits: [Wireshark-commits] master d89cc1c: ASN1: Added support for using #.REGISTER_NEW
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=d89cc1cf9ada0d91a6819a7d6677f48ddcc54adc
Submitter: Stig Bjørlykke (stig@xxxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark
Commits:
d89cc1c by Stig Bjørlykke (stig@xxxxxxxxxxxxx):
ASN1: Added support for using #.REGISTER_NEW
This will register BER PDU-dissectors as "new".
Return number of bytes dissected from dissector_try_* functions.
Return number of bytes dissected in DissectorTable:try()
This will make it possible to get dissected length when using
dissector_try_*() and dissected ASN.1 length in Lua when using
DissectorTable:try() (as we already have for Dissector:call).
Change-Id: Iee17a68dc214fa0fb50b25fc927026ad7c1cbce4
Reviewed-on: https://code.wireshark.org/review/4531
Reviewed-by: Stig Bjørlykke <stig@xxxxxxxxxxxxx>
Tested-by: Stig Bjørlykke <stig@xxxxxxxxxxxxx>
Actions performed:
from 47a1735 Add proper decoding for type field in OBEX headers
adds d89cc1c ASN1: Added support for using #.REGISTER_NEW
Summary of changes:
epan/dissectors/packet-ber.c | 63 ++++++++++++++++++++++++++++++++----------
epan/dissectors/packet-ber.h | 4 +++
epan/packet.c | 36 ++++++++++++------------
epan/packet.h | 6 ++--
epan/wslua/wslua_proto.c | 33 ++++++++++++----------
5 files changed, 92 insertions(+), 50 deletions(-)