mirror of
https://github.com/the-tcpdump-group/tcpdump.git
synced 2024-11-28 12:33:47 +08:00
raw_if_print() isn't yet a new-style print routine.
This commit is contained in:
parent
83344948fe
commit
e00f13631d
12
tcpdump.c
12
tcpdump.c
@ -290,6 +290,12 @@ static struct printer printers[] = {
|
||||
#endif
|
||||
#if defined(HAVE_PCAP_USB_H) && defined(DLT_USB_LINUX_MMAPPED)
|
||||
{ usb_linux_print, DLT_USB_LINUX_MMAPPED},
|
||||
#endif
|
||||
#ifdef DLT_IPV4
|
||||
{ raw_if_print, DLT_IPV4 },
|
||||
#endif
|
||||
#ifdef DLT_IPV6
|
||||
{ raw_if_print, DLT_IPV6 },
|
||||
#endif
|
||||
{ NULL, 0 },
|
||||
};
|
||||
@ -297,12 +303,6 @@ static struct printer printers[] = {
|
||||
static struct ndo_printer ndo_printers[] = {
|
||||
#ifdef DLT_IPNET
|
||||
{ ipnet_if_print, DLT_IPNET },
|
||||
#endif
|
||||
#ifdef DLT_IPV4
|
||||
{ raw_if_print, DLT_IPV4 },
|
||||
#endif
|
||||
#ifdef DLT_IPV6
|
||||
{ raw_if_print, DLT_IPV6 },
|
||||
#endif
|
||||
{ NULL, 0 },
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user