Ethereal-dev: [Ethereal-dev] packet-vines.c patch

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: "Chris Waters" <chris@xxxxxxxxxxxx>
Date: Thu, 1 Jan 2004 12:32:47 -0800
There is a small typo in the Vines dissector. This showed up as a crash in
Packetyzer because of a NULL protocol pointer.

Regards,

Chris.


Index: packet-vines.c
===================================================================
RCS file: /cvsroot/ethereal/packet-vines.c,v
retrieving revision 1.60
diff -u -6 -r1.60 packet-vines.c
--- packet-vines.c 19 Jul 2003 02:49:54 -0000 1.60
+++ packet-vines.c 1 Jan 2004 20:26:15 -0000
@@ -460,13 +460,13 @@
 proto_register_vines_echo(void)
 {
  static gint *ett[] = {
   &ett_vines_echo,
  };

- proto_vines_icp = proto_register_protocol(
+ proto_vines_echo = proto_register_protocol(
      "Banyan Vines Echo", "Vines Echo", "vines_echo");
  proto_register_subtree_array(ett, array_length(ett));
 }

 void
 proto_reg_handoff_vines_echo(void)