aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-null.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2004-12-30 02:27:00 +0000
committerGuy Harris <guy@alum.mit.edu>2004-12-30 02:27:00 +0000
commitd1fd7820b446919beb1b4b2501f8eb2a48d0a708 (patch)
tree84d594dd03e19a9e4ceecc10178beb5e8e638b0c /epan/dissectors/packet-null.c
parent7e7d12b446e250254febfc9a01f6d11ea09fbc62 (diff)
In the "capture_null()" routine, handle IPv6.
svn path=/trunk/; revision=12865
Diffstat (limited to 'epan/dissectors/packet-null.c')
-rw-r--r--epan/dissectors/packet-null.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/epan/dissectors/packet-null.c b/epan/dissectors/packet-null.c
index 9aa6789953..b302bf735c 100644
--- a/epan/dissectors/packet-null.c
+++ b/epan/dissectors/packet-null.c
@@ -36,6 +36,7 @@
#include <epan/atalk-utils.h>
#include <epan/prefs.h>
#include "packet-ip.h"
+#include "packet-ipv6.h"
#include "packet-ipx.h"
#include "packet-osi.h"
#include "packet-ppp.h"
@@ -330,6 +331,12 @@ capture_null( const guchar *pd, int len, packet_counts *ld )
capture_ip(pd, 4, len, ld);
break;
+ case BSD_AF_INET6_BSD:
+ case BSD_AF_INET6_FREEBSD:
+ case BSD_AF_INET6_DARWIN:
+ capture_ipv6(pd, 4, len, ld);
+ break;
+
default:
ld->other++;
break;