diff options
Diffstat (limited to 'packet-raw.c')
-rw-r--r-- | packet-raw.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/packet-raw.c b/packet-raw.c index 41b815c6e8..077b78555a 100644 --- a/packet-raw.c +++ b/packet-raw.c @@ -1,7 +1,7 @@ /* packet-raw.c * Routines for raw packet disassembly * - * $Id: packet-raw.c,v 1.22 2000/11/19 08:54:04 guy Exp $ + * $Id: packet-raw.c,v 1.23 2000/11/29 05:16:15 gram Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@zing.org> @@ -79,7 +79,7 @@ capture_raw(const u_char *pd, packet_counts *ld) } } -void +static void dissect_raw(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) { proto_tree *fh_tree; @@ -163,4 +163,5 @@ proto_reg_handoff_raw(void) */ ip_handle = find_dissector("ip"); ppp_handle = find_dissector("ppp"); + dissector_add("wtap_encap", WTAP_ENCAP_RAW_IP, dissect_raw); } |