aboutsummaryrefslogtreecommitdiffstats
path: root/proto.c
diff options
context:
space:
mode:
authorGilbert Ramirez <gram@alumni.rice.edu>2000-07-28 20:03:59 +0000
committerGilbert Ramirez <gram@alumni.rice.edu>2000-07-28 20:03:59 +0000
commit8ceb7d40f9a603d4d792ce7ed904aff69b468456 (patch)
tree61b5da1b681e609626ce2276680a6b4bdc77bd65 /proto.c
parent551a4d58fd36a32137f7090904c7cb4152b547fa (diff)
downloadwireshark-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.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/proto.c b/proto.c
index fac918c80c..7bdebcda68 100644
--- a/proto.c
+++ b/proto.c
@@ -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);