summaryrefslogtreecommitdiff
path: root/tools/convert_proto_tree_add_text.pl
diff options
context:
space:
mode:
authorMichael Mann <mmann78@netscape.net>2013-07-28 00:07:49 +0000
committerMichael Mann <mmann78@netscape.net>2013-07-28 00:07:49 +0000
commita87f47c02c5d8d8723ebb39c7de3f0068434dc8f (patch)
tree774aef015dcfc0708b3682b23fed04e11064af4d /tools/convert_proto_tree_add_text.pl
parentb9870c0969491ab5e0989864bfb1760995aed627 (diff)
downloadwireshark-a87f47c02c5d8d8723ebb39c7de3f0068434dc8f.tar.gz
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-xtools/convert_proto_tree_add_text.pl9
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