summaryrefslogtreecommitdiff
path: root/doc/dfilter2pod.pl
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2001-04-19 23:17:30 +0000
committerGuy Harris <guy@alum.mit.edu>2001-04-19 23:17:30 +0000
commit8f88bdae4a619d7b20582f9c82e57a7ca295e6c6 (patch)
tree582eaa5c5a88d8905e43f37953bcc57df0e436c9 /doc/dfilter2pod.pl
parent4caa331d219bfd16bf2183221655aec1d50bf17f (diff)
downloadwireshark-8f88bdae4a619d7b20582f9c82e57a7ca295e6c6.tar.gz
"ethereal -G" and "tethereal -G" won't show the pseudo-field for
"proto_tree_add_text()" any more, so the scripts that take that output and massage it into various forms don't have to check for it any more. Get rid of the FT_-name-to-description filtering in eproto2sgml, as it's not used, and fix it in the other two scripts to correspond to the current list of FT_ values. svn path=/trunk/; revision=3336
Diffstat (limited to 'doc/dfilter2pod.pl')
-rwxr-xr-xdoc/dfilter2pod.pl12
1 files changed, 4 insertions, 8 deletions
diff --git a/doc/dfilter2pod.pl b/doc/dfilter2pod.pl
index 08b4d23e37..291723b932 100755
--- a/doc/dfilter2pod.pl
+++ b/doc/dfilter2pod.pl
@@ -9,10 +9,11 @@
# will be replaced by the pod-formatted glossary
# STDOUT is the output
#
-# $Id: dfilter2pod.pl,v 1.1 2000/07/28 16:30:28 gram Exp $
+# $Id: dfilter2pod.pl,v 1.2 2001/04/19 23:17:30 guy Exp $
%ftenum_names = (
'FT_NONE', 'No value',
+ 'FT_PROTOCOL', 'Protocol',
'FT_BOOLEAN', 'Boolean',
'FT_UINT8', 'Unsigned 8-bit integer',
'FT_UINT16', 'Unsigned 16-bit integer',
@@ -22,17 +23,16 @@
'FT_INT16', 'Signed 16-bit integer',
'FT_INT24', 'Signed 24-bit integer',
'FT_INT32', 'Signed 32-bit integer',
+ 'FT_DOUBLE', 'Double-precision floating point',
'FT_ABSOLUTE_TIME', 'Date/Time stamp',
'FT_RELATIVE_TIME', 'Time duration',
'FT_STRING', 'String',
- 'FT_NSTRING_UINT8', 'String',
- 'FT_DOUBLE', 'Double-precision floating point',
+ 'FT_STRINGZ', 'String',
'FT_ETHER', '6-byte Hardware (MAC) Address',
'FT_BYTES', 'Byte array',
'FT_IPv4', 'IPv4 address',
'FT_IPv6', 'IPv6 address',
'FT_IPXNET', 'IPX network or server name',
- 'FT_TEXT_ONLY', 'Text-only. Not filterable'
);
# Read all the data into memory
@@ -81,10 +81,6 @@ sub create_dfilter_table {
# Print each protocol
for $proto_name (sort keys %proto_abbrev) {
- if ($proto_name eq 'Text' && $proto_abbrev{$proto_name} eq 'text') {
- next;
- }
-
print "=head2 $proto_name ($proto_abbrev{$proto_name})\n\n";
# If this proto has children fields, print those