forked from osmocom/wireshark
![Michael Mann](/assets/img/avatar_default.png)
As noted in https://www.wireshark.org/lists/wireshark-dev/201604/msg00103.html a protocol field isn't really a tv_buff, so allow for the possibility of a NULL tv_buff in a "protocol type". If the tvb is NULL, use the string of the protocol field for comparison Bug: 12335 Change-Id: Ie12a5f7b31c7293c61006b0f70135d100a97c4e0 Reviewed-on: https://code.wireshark.org/review/15261 Petri-Dish: Michael Mann <mmann78@netscape.net> Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com> Reviewed-by: Michael Mann <mmann78@netscape.net>
42 lines
566 B
INI
42 lines
566 B
INI
#
|
|
# Editor configuration
|
|
#
|
|
# http://editorconfig.org/
|
|
#
|
|
|
|
[ftype-bytes.[ch]]
|
|
indent_style = tab
|
|
indent_size = tab
|
|
|
|
[ftype-integer.[ch]]
|
|
indent_style = tab
|
|
indent_size = tab
|
|
|
|
[ftype-ipv4.[ch]]
|
|
indent_style = tab
|
|
indent_size = tab
|
|
|
|
[ftype-ipv6.[ch]]
|
|
indent_style = tab
|
|
indent_size = tab
|
|
|
|
[ftype-none.[ch]]
|
|
indent_style = tab
|
|
indent_size = tab
|
|
|
|
[ftype-string.[ch]]
|
|
indent_style = tab
|
|
indent_size = tab
|
|
|
|
[ftype-time.[ch]]
|
|
indent_style = tab
|
|
indent_size = tab
|
|
|
|
[ftype-protocol.[ch]]
|
|
indent_style = tab
|
|
indent_size = tab
|
|
|
|
[ftypes.[ch]]
|
|
indent_style = tab
|
|
indent_size = tab
|