diff options
author | Gilbert Ramirez <gram@alumni.rice.edu> | 2000-08-22 06:38:32 +0000 |
---|---|---|
committer | Gilbert Ramirez <gram@alumni.rice.edu> | 2000-08-22 06:38:32 +0000 |
commit | 7c0421b146adfc9d48822b4b4a43d0099a55915b (patch) | |
tree | f329f43aa9ce588389185b8831d703d98104d108 /gtk/help_dlg.c | |
parent | 064936053c5c2db7dd2cf4eec0f744a3dcbaca87 (diff) | |
download | wireshark-7c0421b146adfc9d48822b4b4a43d0099a55915b.tar.gz wireshark-7c0421b146adfc9d48822b4b4a43d0099a55915b.tar.bz2 wireshark-7c0421b146adfc9d48822b4b4a43d0099a55915b.zip |
Change FT_NSTRING_UINT8 to FT_UINT_STRING. The length parameter passed
to proto_tree_add_item() will indicate if the length of the string is
indicated by an UINT8, UINT16, UINT24, or UINT32.
Change NCP dissector-maker to produce FT_UINT_STRING.
Fix off-by-one in dissection of some NCP reply packets.
svn path=/trunk/; revision=2334
Diffstat (limited to 'gtk/help_dlg.c')
-rw-r--r-- | gtk/help_dlg.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk/help_dlg.c b/gtk/help_dlg.c index c55335eb4b..de7ef1be6f 100644 --- a/gtk/help_dlg.c +++ b/gtk/help_dlg.c @@ -1,6 +1,6 @@ /* help_dlg.c * - * $Id: help_dlg.c,v 1.5 2000/08/17 08:17:38 guy Exp $ + * $Id: help_dlg.c,v 1.6 2000/08/22 06:38:32 gram Exp $ * * Laurent Deniel <deniel@worldnet.fr> * @@ -406,8 +406,8 @@ static void set_help_text(GtkWidget *w, help_type_t type) case FT_RELATIVE_TIME: type_name = "FT_RELATIVE_TIME"; break; - case FT_NSTRING_UINT8: - type_name = "FT_NSTRING_UINT8"; + case FT_UINT_STRING: + type_name = "FT_UINT_STRING"; break; case FT_STRING: type_name = "FT_STRING"; |