X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/6c002d33c0be53140cf998d24413746979e14125..a63600a1fc28dbc7ae7ce9f996829c49a25fb33c:/print-bfd.c diff --git a/print-bfd.c b/print-bfd.c index 32dcbf20..2db14354 100644 --- a/print-bfd.c +++ b/print-bfd.c @@ -146,8 +146,8 @@ static const struct tok bfd_diag_values[] = { static const struct tok bfd_port_values[] = { { BFD_CONTROL_PORT, "Control" }, { BFD_MULTIHOP_PORT, "Multihop" }, - { BFD_LAG_PORT, "Lag" }, - { SBFD_PORT, "Sbfd" }, + { BFD_LAG_PORT, "LAG" }, + { SBFD_PORT, "S-BFD" }, { 0, NULL } }; @@ -315,8 +315,7 @@ bfd_print(netdissect_options *ndo, const u_char *pptr, /* BFDv0 */ case 0: - if (ndo->ndo_vflag < 1) - { + if (ndo->ndo_vflag < 1) { ND_PRINT("BFDv0, Control, Flags: [%s], length: %u", bittok2str(bfd_v0_flag_values, "none", flags), len); @@ -353,8 +352,7 @@ bfd_print(netdissect_options *ndo, const u_char *pptr, /* BFDv1 */ case 1: - if (ndo->ndo_vflag < 1) - { + if (ndo->ndo_vflag < 1) { ND_PRINT("BFDv1, %s, State %s, Flags: [%s], length: %u", tok2str(bfd_port_values, "unknown (%u)", port), tok2str(bfd_v1_state_values, "unknown (%u)", (flags & 0xc0) >> 6),