summaryrefslogtreecommitdiff
path: root/print.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2018-01-11 11:10:21 -0800
committerGuy Harris <guy@alum.mit.edu>2018-01-11 11:10:21 -0800
commitfe225c551810e941ca1fc0d3fecee29cea7f16b9 (patch)
treeb2797b5e85b9b84fbab53638f691d6401dd7dc7d /print.c
parent741edd63b9638db8b2194901f5b8a61bc7cc0f98 (diff)
downloadtcpdump-fe225c551810e941ca1fc0d3fecee29cea7f16b9.tar.gz
Use nd_ types, add host-endian extract routines, clean up signed vs. unsigned.
We now define the structures for Linux USB headers in print-usb.c, so it doesn't need to include <pcap/usb.h>; don't check for it.
Diffstat (limited to 'print.c')
-rw-r--r--print.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/print.c b/print.c
index 1e2e5f3f..ca231f14 100644
--- a/print.c
+++ b/print.c
@@ -99,14 +99,12 @@ static const struct printer printers[] = {
#ifdef DLT_IPV6
{ raw_if_print, DLT_IPV6 },
#endif
-#ifdef HAVE_PCAP_USB_H
#ifdef DLT_USB_LINUX
{ usb_linux_48_byte_if_print, DLT_USB_LINUX},
#endif /* DLT_USB_LINUX */
#ifdef DLT_USB_LINUX_MMAPPED
{ usb_linux_64_byte_if_print, DLT_USB_LINUX_MMAPPED},
#endif /* DLT_USB_LINUX_MMAPPED */
-#endif /* HAVE_PCAP_USB_H */
#ifdef DLT_SYMANTEC_FIREWALL
{ symantec_if_print, DLT_SYMANTEC_FIREWALL },
#endif