diff options
author | Gilbert Ramirez <gram@alumni.rice.edu> | 2000-07-28 20:03:59 +0000 |
---|---|---|
committer | Gilbert Ramirez <gram@alumni.rice.edu> | 2000-07-28 20:03:59 +0000 |
commit | 8ceb7d40f9a603d4d792ce7ed904aff69b468456 (patch) | |
tree | 61b5da1b681e609626ce2276680a6b4bdc77bd65 /proto.c | |
parent | 551a4d58fd36a32137f7090904c7cb4152b547fa (diff) | |
download | wireshark-8ceb7d40f9a603d4d792ce7ed904aff69b468456.tar.gz wireshark-8ceb7d40f9a603d4d792ce7ed904aff69b468456.tar.bz2 wireshark-8ceb7d40f9a603d4d792ce7ed904aff69b468456.zip |
Add the re-write of the NetWare Core Protocol dissector. It's mostly
a framework for the dissector; of the more than 400 NCP packet types, only
a handful are defined. But this dissector framework is much better than
the previous one.
svn path=/trunk/; revision=2173
Diffstat (limited to 'proto.c')
-rw-r--r-- | proto.c | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -1,7 +1,7 @@ /* proto.c * Routines for protocol tree * - * $Id: proto.c,v 1.71 2000/07/27 06:41:58 gram Exp $ + * $Id: proto.c,v 1.72 2000/07/28 20:03:43 gram Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@zing.org> @@ -2359,6 +2359,9 @@ proto_registrar_dump(void) case FT_RELATIVE_TIME: enum_name = "FT_RELATIVE_TIME"; break; + case FT_NSTRING_UINT8: + enum_name = "FT_NSTRING_UINT8"; + break; case FT_STRING: enum_name = "FT_STRING"; break; @@ -2381,8 +2384,7 @@ proto_registrar_dump(void) enum_name = "FT_TEXT_ONLY"; break; default: - enum_name = "UNKNOWN"; - break; + g_assert_not_reached(); } printf("F\t%s\t%s\t%s\t%s\n", hfinfo->name, hfinfo->abbrev, enum_name,parent_hfinfo->abbrev); |