diff options
author | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2000-11-17 06:02:21 +0000 |
---|---|---|
committer | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2000-11-17 06:02:21 +0000 |
commit | a4e0ded59a8b7fce18ca2bb5afa067c202ca5bd6 (patch) | |
tree | e100d9c5b026a703e9a005330eed9e9cfe1595e0 /packet-ip.c | |
parent | 633189a0629d889f6cccbb2be820ac3d40c885db (diff) |
Give the "null" link-layer header dissector a dissector table, and put
the BSD AF_ type values it uses into an "aftypes.h" header file for
dissectors that register themselves in that dissector table include.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@2653 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet-ip.c')
-rw-r--r-- | packet-ip.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/packet-ip.c b/packet-ip.c index 7faedf8c80..324c9b710c 100644 --- a/packet-ip.c +++ b/packet-ip.c @@ -1,7 +1,7 @@ /* packet-ip.c * Routines for IP and miscellaneous IP protocol packet disassembly * - * $Id: packet-ip.c,v 1.104 2000/10/21 04:34:47 guy Exp $ + * $Id: packet-ip.c,v 1.105 2000/11/17 06:02:20 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@zing.org> @@ -49,6 +49,7 @@ #include "etypes.h" #include "ppptypes.h" #include "llcsaps.h" +#include "aftypes.h" #include "packet-ip.h" #include "packet-ipsec.h" @@ -1478,6 +1479,7 @@ proto_reg_handoff_ip(void) old_dissector_add("llc.dsap", SAP_IP, dissect_ip); old_dissector_add("ip.proto", IP_PROTO_IPV4, dissect_ip); old_dissector_add("ip.proto", IP_PROTO_IPIP, dissect_ip); + old_dissector_add("null.type", BSD_AF_INET, dissect_ip); } void |