aboutsummaryrefslogtreecommitdiffstats
path: root/packet-vines.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2000-04-16 22:46:25 +0000
committerGuy Harris <guy@alum.mit.edu>2000-04-16 22:46:25 +0000
commit9aa7670a4eb9e7aac604180b00ca4fa751d68ea7 (patch)
treeaa09ab7e91aa70df10e78c4ee02b0eabfda0c8db /packet-vines.c
parent4179944c14ac8026099f6416fa80421a29c673b8 (diff)
Register an "ip.proto" dissector table for IPv4, and have dissectors for
protocols that run inside IPv4 register themselves with it using "dissector_add()". Make various dissectors static if they can be, and get rid of any header files that no longer contain any information as a result of that change. svn path=/trunk/; revision=1870
Diffstat (limited to 'packet-vines.c')
-rw-r--r--packet-vines.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/packet-vines.c b/packet-vines.c
index 3128811118..dc45a08787 100644
--- a/packet-vines.c
+++ b/packet-vines.c
@@ -1,7 +1,7 @@
/* packet-vines.c
* Routines for Banyan VINES protocol packet disassembly
*
- * $Id: packet-vines.c,v 1.14 2000/04/16 21:37:06 guy Exp $
+ * $Id: packet-vines.c,v 1.15 2000/04/16 22:46:24 guy Exp $
*
* Don Lafontaine <lafont02@cn.ca>
*
@@ -41,6 +41,7 @@
#include "ppptypes.h"
#include "packet.h"
#include "packet-vines.h"
+#include "packet-ip.h"
static gint ett_vines = -1;
static gint ett_vines_frp = -1;
@@ -354,4 +355,5 @@ proto_reg_handoff_vines(void)
{
dissector_add("ethertype", ETHERTYPE_VINES, dissect_vines);
dissector_add("ppp.protocol", PPP_VINES, dissect_vines);
+ dissector_add("ip.proto", IP_PROTO_VINES, dissect_vines_frp);
}