summaryrefslogtreecommitdiff
path: root/tcpdump.c
diff options
context:
space:
mode:
authorDarren Reed <Darren.Reed@Sun.COM>2009-11-24 21:20:25 -0500
committerMichael Richardson <mcr@sandelman.ottawa.on.ca>2009-11-24 21:20:25 -0500
commitb116cd9ac44b940cdda9493bb77e81ea42f1db7d (patch)
treedc5c42f7d2d4f4937619c63872992ce2747980c4 /tcpdump.c
parent1b15c42270daadbab8ff41ca625afde2af413b44 (diff)
downloadtcpdump-b116cd9ac44b940cdda9493bb77e81ea42f1db7d.tar.gz
The patches attached to this email are required to get a fully working tcpdump
on OpenSolaris, or Solaris Express Community Edition, build 125 and later. The attached patch introduces support for printing out the IPNET headers used for packet capture inside of zones that share their networking with the global zone and for packets "transmitted" between zones. tcpdump 4.0.0 will ship with builds 129 and later of OpenSolaris/SXCE and when run as root with the '-L' option, should behave as below to indicate that the system is fully functional: Data link types (use option -y to set): DOCSIS (DOCSIS) (printing not supported) IPNET (Solaris IPNET) EN10MB (Ethernet) Cheers, Darren
Diffstat (limited to 'tcpdump.c')
-rw-r--r--tcpdump.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tcpdump.c b/tcpdump.c
index 18c7af4b..25feb7a0 100644
--- a/tcpdump.c
+++ b/tcpdump.c
@@ -282,6 +282,9 @@ static struct printer printers[] = {
#if defined(HAVE_PCAP_USB_H) && defined(DLT_USB_LINUX_MMAPPED)
{ usb_linux_print, DLT_USB_LINUX_MMAPPED},
#endif
+#ifdef DLT_IPNET
+ { ipnet_if_print, DLT_IPNET },
+#endif
{ NULL, 0 },
};