diff options
author | Jaap Keuter <jaap.keuter@xs4all.nl> | 2006-01-09 23:00:20 +0000 |
---|---|---|
committer | Jaap Keuter <jaap.keuter@xs4all.nl> | 2006-01-09 23:00:20 +0000 |
commit | d5649bc2de2d33b7ca404dd70298f0ceb3837ee3 (patch) | |
tree | cc43d8684a93e3a683e020571b8c75b42e357d0d | |
parent | 37d7d13a80e1b71437e9f77ac2c5a498f9002d3e (diff) | |
download | wireshark-d5649bc2de2d33b7ca404dd70298f0ceb3837ee3.tar.gz wireshark-d5649bc2de2d33b7ca404dd70298f0ceb3837ee3.tar.bz2 wireshark-d5649bc2de2d33b7ca404dd70298f0ceb3837ee3.zip |
Add UDP-Lite packets to the UDP statistics
svn path=/trunk/; revision=16983
-rw-r--r-- | epan/dissectors/packet-ip.c | 1 | ||||
-rw-r--r-- | epan/dissectors/packet-ipv6.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/epan/dissectors/packet-ip.c b/epan/dissectors/packet-ip.c index 098db1197a..ef89949df1 100644 --- a/epan/dissectors/packet-ip.c +++ b/epan/dissectors/packet-ip.c @@ -382,6 +382,7 @@ capture_ip(const guchar *pd, int offset, int len, packet_counts *ld) { ld->tcp++; break; case IP_PROTO_UDP: + case IP_PROTO_UDPLITE: ld->udp++; break; case IP_PROTO_ICMP: diff --git a/epan/dissectors/packet-ipv6.c b/epan/dissectors/packet-ipv6.c index 4bdcb2ca1a..498f52c49a 100644 --- a/epan/dissectors/packet-ipv6.c +++ b/epan/dissectors/packet-ipv6.c @@ -178,6 +178,7 @@ again: ld->tcp++; break; case IP_PROTO_UDP: + case IP_PROTO_UDPLITE: ld->udp++; break; case IP_PROTO_ICMP: |