X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/b5cbb4d2bbca5fda7fc3ab5996d416aaf727df30..c39d40a767a1ae36171e5bcbf6f157ff3e80fb6c:/print-cfm.c diff --git a/print-cfm.c b/print-cfm.c index da544a15..e950719e 100644 --- a/print-cfm.c +++ b/print-cfm.c @@ -221,7 +221,7 @@ cfm_network_addr_print(netdissect_options *ndo, u_int hexdump = FALSE; /* - * Although AFIs are typically 2 octects wide, + * Although AFIs are typically 2 octets wide, * 802.1ab specifies that this field width * is only one octet. */ @@ -401,7 +401,7 @@ cfm_print(netdissect_options *ndo, switch (md_nameformat) { case CFM_CCM_MD_FORMAT_DNS: case CFM_CCM_MD_FORMAT_CHAR: - (void)nd_printzp(ndo, md_name, md_namelength, NULL); + nd_printjnp(ndo, md_name, md_namelength); break; case CFM_CCM_MD_FORMAT_MAC: @@ -452,7 +452,7 @@ cfm_print(netdissect_options *ndo, ND_PRINT("\n\t MA Name: "); switch (ma_nameformat) { case CFM_CCM_MA_FORMAT_CHAR: - (void)nd_printzp(ndo, ma_name, ma_namelength, NULL); + nd_printjnp(ndo, ma_name, ma_namelength); break; /* FIXME add printers for those MA formats - hexdump for now */ @@ -657,7 +657,7 @@ cfm_print(netdissect_options *ndo, case CFM_CHASSIS_ID_LOCAL: case CFM_CHASSIS_ID_CHASSIS_COMPONENT: case CFM_CHASSIS_ID_PORT_COMPONENT: - (void)nd_printzp(ndo, tptr + 1, chassis_id_length, NULL); + nd_printjnp(ndo, tptr + 1, chassis_id_length); break; default: