diff options
author | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2002-10-14 17:33:50 +0000 |
---|---|---|
committer | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2002-10-14 17:33:50 +0000 |
commit | 75907ec933d98f1d2f3e8f0fd915ce24ae9243cf (patch) | |
tree | 1ab71bc103c903f0fbff7acd9b392363e72ba524 /packet-ethertype.c | |
parent | 32481564af08becd9351b2aadd0ca9b1a76b3c09 (diff) |
From Ulf Lamping: count ARP packets in capture progress dialog box.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6416 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet-ethertype.c')
-rw-r--r-- | packet-ethertype.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/packet-ethertype.c b/packet-ethertype.c index 7c9d2e9618..a7622e8985 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.31 2002/08/28 21:00:13 jmayer Exp $ + * $Id: packet-ethertype.c,v 1.32 2002/10/14 17:33:48 guy Exp $ * * Gilbert Ramirez <gram@alumni.rice.edu> * @@ -104,6 +104,9 @@ capture_ethertype(guint16 etype, const guchar *pd, int offset, int len, packet_counts *ld) { switch (etype) { + case ETHERTYPE_ARP: + ld->arp++; + break; case ETHERTYPE_IP: capture_ip(pd, offset, len, ld); break; |