diff options
author | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2020-02-06 20:27:06 +0100 |
---|---|---|
committer | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2020-02-06 20:41:36 +0100 |
commit | c688c129ea87125d75a17dcf24a51132d6c2a04d (patch) | |
tree | ce8c3ecef4b2ad37bc69f9ed0570fffd16634b01 /print.c | |
parent | c2212b322934c8a6261c30c183fc152548363ff0 (diff) | |
download | tcpdump-c688c129ea87125d75a17dcf24a51132d6c2a04d.tar.gz |
Bluetooth: Update the link-layer dissector to a void function
Moreover:
Remove a useless ND_TCHECK_4 test (caplen tested before).
Remove a no longer used 'trunc' label.
Diffstat (limited to 'print.c')
-rw-r--r-- | print.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -91,9 +91,6 @@ static const struct uint_printer uint_printers[] = { #ifdef DLT_LOOP { null_if_print, DLT_LOOP }, #endif -#ifdef DLT_BLUETOOTH_HCI_H4_WITH_PHDR - { bt_if_print, DLT_BLUETOOTH_HCI_H4_WITH_PHDR}, -#endif #ifdef DLT_LANE8023 { lane_if_print, DLT_LANE8023 }, #endif @@ -255,6 +252,9 @@ static const struct void_printer void_printers[] = { #ifdef DLT_APPLE_IP_OVER_IEEE1394 { ap1394_if_print, DLT_APPLE_IP_OVER_IEEE1394 }, #endif +#ifdef DLT_BLUETOOTH_HCI_H4_WITH_PHDR + { bt_if_print, DLT_BLUETOOTH_HCI_H4_WITH_PHDR}, +#endif { NULL, 0 }, }; |