diff options
author | Michael Mann <mmann78@netscape.net> | 2013-07-28 00:07:49 +0000 |
---|---|---|
committer | Michael Mann <mmann78@netscape.net> | 2013-07-28 00:07:49 +0000 |
commit | a87f47c02c5d8d8723ebb39c7de3f0068434dc8f (patch) | |
tree | 774aef015dcfc0708b3682b23fed04e11064af4d /tools/convert_proto_tree_add_text.pl | |
parent | b9870c0969491ab5e0989864bfb1760995aed627 (diff) |
Make many items filterable for Vines dissectors.
Add support for FT_VINES type.
svn path=/trunk/; revision=50962
Diffstat (limited to 'tools/convert_proto_tree_add_text.pl')
-rwxr-xr-x | tools/convert_proto_tree_add_text.pl | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/tools/convert_proto_tree_add_text.pl b/tools/convert_proto_tree_add_text.pl index c018dddb13..5c6cad1f57 100755 --- a/tools/convert_proto_tree_add_text.pl +++ b/tools/convert_proto_tree_add_text.pl @@ -84,7 +84,7 @@ my %FIELD_TYPE = ('FT_NONE' => "FT_NONE", 'FT_PROTOCOL' => "FT_PROTOCOL", 'FT_BO 'FT_ABSOLUTE_TIME' => "FT_ABSOLUTE_TIME", 'FT_RELATIVE_TIME' => "FT_RELATIVE_TIME", 'FT_STRING' => "FT_STRING", 'FT_STRINGZ' => "FT_STRINGZ", 'FT_UINT_STRING' => "FT_UINT_STRING", 'FT_ETHER' => "FT_ETHER", 'FT_BYTES' => "FT_BYTES", 'FT_UINT_BYTES' => "FT_UINT_BYTES", - 'FT_IPv4' => "FT_IPv4", 'FT_IPv6' => "FT_IPv6", 'FT_IPXNET' => "FT_IPXNET", 'FT_AX25' => "FT_AX25", + 'FT_IPv4' => "FT_IPv4", 'FT_IPv6' => "FT_IPv6", 'FT_IPXNET' => "FT_IPXNET", 'FT_AX25' => "FT_AX25", 'FT_VINES' => "FT_VINES", 'FT_FRAMENUM' => "FT_FRAMENUM", 'FT_PCRE' => "FT_PCRE", 'FT_GUID' => "FT_GUID", 'FT_OID' => "FT_OID", 'FT_EUI64' => "FT_EUI64"); my %EXPERT_SEVERITY = ('PI_COMMENT' => "PI_COMMENT", @@ -370,7 +370,8 @@ sub generate_hfs { if (($proto_tree_item[6] eq "1") || ($args[5] =~ /tvb_get_guint8/) || ($args[5] =~ /tvb_bytes_to_str/) || - ($args[5] =~ /tvb_ether_to_str/)) { + ($args[5] =~ /tvb_ether_to_str/) || + ($args[5] =~ /tvb_vines_addr_to_str/)) { $proto_tree_item[7] = "ENC_NA"; } elsif ($args[5] =~ /tvb_get_ntoh/) { $proto_tree_item[7] = "ENC_BIG_ENDIAN"; @@ -461,7 +462,9 @@ sub generate_hfs { $proto_tree_item[9] = "FT_BYTES"; } elsif ($args[5] =~ /tvb_ether_to_str/) { $proto_tree_item[9] = "FT_ETHER"; - } + } elsif ($args[5] =~ /tvb_vines_addr_to_str/) { + $proto_tree_item[9] = "FT_VINES"; + } } #display base |