summaryrefslogtreecommitdiff
path: root/print.c
diff options
context:
space:
mode:
authorFrancois-Xavier Le Bail <devel.fx.lebail@orange.fr>2020-02-06 20:27:06 +0100
committerFrancois-Xavier Le Bail <devel.fx.lebail@orange.fr>2020-02-06 20:41:36 +0100
commitc688c129ea87125d75a17dcf24a51132d6c2a04d (patch)
treece8c3ecef4b2ad37bc69f9ed0570fffd16634b01 /print.c
parentc2212b322934c8a6261c30c183fc152548363ff0 (diff)
downloadtcpdump-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.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/print.c b/print.c
index 844887e1..4303dce3 100644
--- a/print.c
+++ b/print.c
@@ -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 },
};