summaryrefslogtreecommitdiff
path: root/tshark.c
diff options
context:
space:
mode:
authorStephen Fisher <steve@stephen-fisher.com>2007-11-19 21:27:01 +0000
committerStephen Fisher <steve@stephen-fisher.com>2007-11-19 21:27:01 +0000
commit849e6283346ef76c5fd405f2fec445484b990e70 (patch)
treecdd747c833875091e8c335b5d27e83c4b050afb4 /tshark.c
parent53faa469bdb97d7c9b8f7efec6e7c2118a5ebdbe (diff)
downloadwireshark-849e6283346ef76c5fd405f2fec445484b990e70.tar.gz
Introduce a new field type called FT_EBCDIC. This field works the same as
FT_STRING, except that it converts the data from the packet from EBCDIC to ASCII for display in Wireshark. svn path=/trunk/; revision=23503
Diffstat (limited to 'tshark.c')
-rw-r--r--tshark.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tshark.c b/tshark.c
index b03372a1c9..7a4a170051 100644
--- a/tshark.c
+++ b/tshark.c
@@ -523,6 +523,7 @@ add_decode_as(const gchar *cl_param)
case FT_STRING:
case FT_STRINGZ:
+ case FT_EBCDIC:
/* The selector for this table is a string. */
break;
@@ -619,6 +620,7 @@ add_decode_as(const gchar *cl_param)
case FT_STRING:
case FT_STRINGZ:
+ case FT_EBCDIC:
/* The selector for this table is a string. */
dissector_change_string(table_name, selector_str, dissector_matching);
break;