diff options
author | Guy Harris <guy@alum.mit.edu> | 2002-10-25 23:23:28 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2002-10-25 23:23:28 +0000 |
commit | daa0dd9f1a0978f250c41254a4c3f69024b2bbdb (patch) | |
tree | 742f490c1021562eb6bc7cc6ca9432c4a6930ec7 /packet-ip.c | |
parent | 86af47dd68245055354fa1b9eac58fb2b0159193 (diff) | |
download | wireshark-daa0dd9f1a0978f250c41254a4c3f69024b2bbdb.tar.gz wireshark-daa0dd9f1a0978f250c41254a4c3f69024b2bbdb.tar.bz2 wireshark-daa0dd9f1a0978f250c41254a4c3f69024b2bbdb.zip |
Count ICMPv6 packets as ICMP when capturing.
Check the next header type - properly handling extension headers - in
"capture_ipv6()".
Get rid of the count of IPv6 packets - we break that down in
"capture_ipv6()" now.
Fix a typo.
svn path=/trunk/; revision=6510
Diffstat (limited to 'packet-ip.c')
-rw-r--r-- | packet-ip.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/packet-ip.c b/packet-ip.c index a6a1edb929..942e1921d7 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.175 2002/10/24 06:17:34 guy Exp $ + * $Id: packet-ip.c,v 1.176 2002/10/25 23:23:26 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -356,6 +356,7 @@ capture_ip(const guchar *pd, int offset, int len, packet_counts *ld) { ld->udp++; break; case IP_PROTO_ICMP: + case IP_PROTO_ICMPV6: /* XXX - separate counters? */ ld->icmp++; break; case IP_PROTO_OSPF: |