diff options
author | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2020-08-02 13:46:55 +0200 |
---|---|---|
committer | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2020-08-02 22:11:51 +0200 |
commit | bdf7eacfa10c7d8d05ed25e55b619ba32ecc40cc (patch) | |
tree | ee3730830faaf3c1f53206ea3e4df0838bbdafba /print.c | |
parent | 941452b13284aacf521b48f87d8243b28fa541cf (diff) | |
download | tcpdump-bdf7eacfa10c7d8d05ed25e55b619ba32ecc40cc.tar.gz |
IPFC: 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 | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -53,9 +53,6 @@ struct void_printer { }; static const struct uint_printer uint_printers[] = { -#ifdef DLT_IP_OVER_FC - { ipfc_if_print, DLT_IP_OVER_FC }, -#endif #ifdef DLT_LANE8023 { lane_if_print, DLT_LANE8023 }, #endif @@ -146,6 +143,9 @@ static const struct void_printer void_printers[] = { #ifdef DLT_IEEE802_15_4_TAP { ieee802_15_4_tap_if_print, DLT_IEEE802_15_4_TAP }, #endif +#ifdef DLT_IP_OVER_FC + { ipfc_if_print, DLT_IP_OVER_FC }, +#endif #ifdef DLT_IPNET { ipnet_if_print, DLT_IPNET }, #endif |