From 9615c4ef25937edc242ff81a9ee7ec7a35aa7698 Mon Sep 17 00:00:00 2001 From: Gilbert Ramirez Date: Sat, 8 Feb 2003 04:22:37 +0000 Subject: Provide a way for ftype modules to provide a string representation of their value. Provide such a method for FT_BYTES, FT_UINT_BYTES, and FT_ETHER. Have proto_alloc_dfilter_string() use the new methods. This is part of a movement of ftype-related code out of proto.c and into the ftype code. The immediate effect is that generated display filters for long byte sequences don't incorrectly have trailing periods ("...") to indicate continuation. svn path=/trunk/; revision=7100 --- epan/ftypes/ftype-none.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'epan/ftypes/ftype-none.c') diff --git a/epan/ftypes/ftype-none.c b/epan/ftypes/ftype-none.c index c3101bb177..864c8a6b9a 100644 --- a/epan/ftypes/ftype-none.c +++ b/epan/ftypes/ftype-none.c @@ -1,5 +1,5 @@ /* - * $Id: ftype-none.c,v 1.4 2002/08/28 20:41:00 jmayer Exp $ + * $Id: ftype-none.c,v 1.5 2003/02/08 04:22:37 gram Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs @@ -39,6 +39,8 @@ ftype_register_none(void) NULL, NULL, NULL, + NULL, /* val_to_string_repr */ + NULL, /* len_string_repr */ NULL, NULL, -- cgit v1.2.3