aboutsummaryrefslogtreecommitdiffstats
path: root/packet-ethertype.c
diff options
context:
space:
mode:
authorJörg Mayer <jmayer@loplof.de>2002-10-22 22:04:23 +0000
committerJörg Mayer <jmayer@loplof.de>2002-10-22 22:04:23 +0000
commit40e1ec7fad04f0b008eb692f7b00fb0287a7cd2a (patch)
treed33cc6142b76fbcca2b75361837fb72dd81012c8 /packet-ethertype.c
parent4c80b2ac3fbb12ba37ac93664b89642a8c09b359 (diff)
Minimalistic support for counting IPv6 packets during capture
svn path=/trunk/; revision=6476
Diffstat (limited to 'packet-ethertype.c')
-rw-r--r--packet-ethertype.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/packet-ethertype.c b/packet-ethertype.c
index a7622e8985..849ee33161 100644
--- a/packet-ethertype.c
+++ b/packet-ethertype.c
@@ -1,7 +1,7 @@
/* ethertype.c
* Routines for calling the right protocol for the ethertype.
*
- * $Id: packet-ethertype.c,v 1.32 2002/10/14 17:33:48 guy Exp $
+ * $Id: packet-ethertype.c,v 1.33 2002/10/22 22:04:21 jmayer Exp $
*
* Gilbert Ramirez <gram@alumni.rice.edu>
*
@@ -31,6 +31,7 @@
#include <glib.h>
#include <epan/packet.h>
#include "packet-ip.h"
+#include "packet-ipv6.h"
#include "packet-ipx.h"
#include "packet-vlan.h"
#include "packet-vines.h"
@@ -110,6 +111,9 @@ capture_ethertype(guint16 etype, const guchar *pd, int offset, int len,
case ETHERTYPE_IP:
capture_ip(pd, offset, len, ld);
break;
+ case ETHERTYPE_IPv6:
+ capture_ipv6(pd, offset, len, ld);
+ break;
case ETHERTYPE_IPX:
capture_ipx(ld);
break;