raw_if_print() isn't yet a new-style print routine.

This commit is contained in:
Guy Harris 2010-01-10 13:34:22 -08:00
parent 83344948fe
commit e00f13631d

View File

@ -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 },
};