diff options
author | Guy Harris <guy@alum.mit.edu> | 2002-01-03 02:10:01 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2002-01-03 02:10:01 +0000 |
commit | 5ce2931d0c95571f7da566059798e38ea67497cf (patch) | |
tree | a15a70b79ccbf2cdb464fb47fac560e97b5b20f1 /packet-raw.c | |
parent | 8168fb74a0e031197feeea17c22daa6092353d16 (diff) |
Now that there's a protocol ID for "raw", use it when creating the
dissector handle for the "raw" protocol.
svn path=/trunk/; revision=4466
Diffstat (limited to 'packet-raw.c')
-rw-r--r-- | packet-raw.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packet-raw.c b/packet-raw.c index 19fefc11e1..0ea7a2cef7 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.30 2002/01/02 20:33:46 gram Exp $ + * $Id: packet-raw.c,v 1.31 2002/01/03 02:10:01 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -167,6 +167,6 @@ proto_reg_handoff_raw(void) */ ip_handle = find_dissector("ip"); ppp_hdlc_handle = find_dissector("ppp_hdlc"); - raw_handle = create_dissector_handle(dissect_raw, -1); + raw_handle = create_dissector_handle(dissect_raw, proto_raw); dissector_add("wtap_encap", WTAP_ENCAP_RAW_IP, raw_handle); } |