diff options
author | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2020-08-02 11:50:35 +0200 |
---|---|---|
committer | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2020-08-02 11:50:46 +0200 |
commit | e2e1906cff6ab7d5de40f587b89039713dac6d82 (patch) | |
tree | 745cc1a99a3b1ab94cb2f8a47763becf2d069662 /print.c | |
parent | cfbae609a18fa6d61d09a8b263ceaf389f510e9b (diff) | |
download | tcpdump-e2e1906cff6ab7d5de40f587b89039713dac6d82.tar.gz |
CIP: Update the link-layer dissector to a void function
Moreover:
Remove trailing "_if" from the protocol name.
Diffstat (limited to 'print.c')
-rw-r--r-- | print.c | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -53,12 +53,6 @@ struct void_printer { }; static const struct uint_printer uint_printers[] = { -#ifdef DLT_CIP - { cip_if_print, DLT_CIP }, -#endif -#ifdef DLT_ATM_CLIP - { cip_if_print, DLT_ATM_CLIP }, -#endif #ifdef DLT_IP_OVER_FC { ipfc_if_print, DLT_IP_OVER_FC }, #endif @@ -125,6 +119,12 @@ static const struct void_printer void_printers[] = { #ifdef DLT_BLUETOOTH_HCI_H4_WITH_PHDR { bt_if_print, DLT_BLUETOOTH_HCI_H4_WITH_PHDR}, #endif +#ifdef DLT_ATM_CLIP + { cip_if_print, DLT_ATM_CLIP }, +#endif +#ifdef DLT_CIP + { cip_if_print, DLT_CIP }, +#endif #ifdef DLT_DSA_TAG_DSA { dsa_if_print, DLT_DSA_TAG_DSA }, #endif |