vlan updates for etype<maxlen and capture counters
[obnox/wireshark/wip.git] / ethertype.c
index f1e2b2d917073b82ef961277cd21b7019e641a02..a315499eec0634726ba52633949fb76793043085 100644 (file)
@@ -2,7 +2,7 @@
  * Routines for calling the right protocol for the ethertype.
  * This is called by both packet-eth.c (Ethernet II) and packet-llc.c (SNAP)
  *
- * $Id: ethertype.c,v 1.20 1999/12/05 02:32:41 guy Exp $
+ * $Id: ethertype.c,v 1.21 1999/12/05 20:05:44 nneul Exp $
  *
  * Gilbert Ramirez <gram@verdict.uthscsa.edu>
  *
@@ -66,6 +66,9 @@ capture_ethertype(guint16 etype, int offset,
     case ETHERTYPE_IPX:
       capture_ipx(pd, offset, cap_len, ld);
       break;
+    case ETHERTYPE_VLAN:
+      capture_vlan(pd, offset, cap_len, ld);
+      break;
     default:
       ld->other++;
       break;