git.samba.org
/
obnox
/
wireshark
/
wip.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
vlan updates for etype<maxlen and capture counters
[obnox/wireshark/wip.git]
/
ethertype.c
diff --git
a/ethertype.c
b/ethertype.c
index f1e2b2d917073b82ef961277cd21b7019e641a02..a315499eec0634726ba52633949fb76793043085 100644
(file)
--- a/
ethertype.c
+++ b/
ethertype.c
@@
-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)
*
* 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.2
0 1999/12/05 02:32:41 guy
Exp $
+ * $Id: ethertype.c,v 1.2
1 1999/12/05 20:05:44 nneul
Exp $
*
* Gilbert Ramirez <gram@verdict.uthscsa.edu>
*
*
* 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_IPX:
capture_ipx(pd, offset, cap_len, ld);
break;
+ case ETHERTYPE_VLAN:
+ capture_vlan(pd, offset, cap_len, ld);
+ break;
default:
ld->other++;
break;
default:
ld->other++;
break;