From dd90e7e3273687538e30ebec716f3c151a6f75d5 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Sun, 19 Nov 2000 02:00:03 +0000 Subject: Have the Etherenet and PPP dissectors register themselves, and have other dissectors call them through handles. Do the same for the "PPP payload" dissector, after tvbuffifying it. Tvbuffify the PPPoE dissector. Do the last little bit of tvbuffifying the L2TP dissector (it takes old-style arguments and immediately generates a tvbuff out of them; make it take new-style arguments). svn path=/trunk/; revision=2664 --- packet-eth.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'packet-eth.c') diff --git a/packet-eth.c b/packet-eth.c index 1c0b1c0fcf..b17d0ab35a 100644 --- a/packet-eth.c +++ b/packet-eth.c @@ -1,7 +1,7 @@ /* packet-eth.c * Routines for ethernet packet disassembly * - * $Id: packet-eth.c,v 1.47 2000/11/18 10:38:24 guy Exp $ + * $Id: packet-eth.c,v 1.48 2000/11/19 02:00:02 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs @@ -373,4 +373,6 @@ proto_register_eth(void) proto_eth = proto_register_protocol ("Ethernet", "eth" ); proto_register_field_array(proto_eth, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); + + register_dissector("eth", dissect_eth); } -- cgit v1.2.3