aboutsummaryrefslogtreecommitdiffstats
path: root/packet-ip.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2000-11-17 06:02:21 +0000
committerGuy Harris <guy@alum.mit.edu>2000-11-17 06:02:21 +0000
commitd50abaf3f4760996163539c90f4c982f2eaba4e6 (patch)
treee100d9c5b026a703e9a005330eed9e9cfe1595e0 /packet-ip.c
parentd9397635456a565fcd8f09f24e9ec26919ed6d5f (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. svn path=/trunk/; revision=2653
Diffstat (limited to 'packet-ip.c')
-rw-r--r--packet-ip.c4
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