summaryrefslogtreecommitdiff
path: root/print-cfm.c
diff options
context:
space:
mode:
Diffstat (limited to 'print-cfm.c')
-rw-r--r--print-cfm.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/print-cfm.c b/print-cfm.c
index 568e3036..8b3e3e00 100644
--- a/print-cfm.c
+++ b/print-cfm.c
@@ -404,7 +404,7 @@ cfm_print(netdissect_options *ndo,
switch (md_nameformat) {
case CFM_CCM_MD_FORMAT_DNS:
case CFM_CCM_MD_FORMAT_CHAR:
- safeputs(ndo, md_name, md_namelength);
+ (void)nd_printzp(ndo, md_name, md_namelength, NULL);
break;
case CFM_CCM_MD_FORMAT_MAC:
@@ -456,7 +456,7 @@ cfm_print(netdissect_options *ndo,
ND_PRINT("\n\t MA Name: ");
switch (ma_nameformat) {
case CFM_CCM_MA_FORMAT_CHAR:
- safeputs(ndo, ma_name, ma_namelength);
+ (void)nd_printzp(ndo, ma_name, ma_namelength, NULL);
break;
/* FIXME add printers for those MA formats - hexdump for now */
@@ -662,7 +662,7 @@ cfm_print(netdissect_options *ndo,
case CFM_CHASSIS_ID_LOCAL:
case CFM_CHASSIS_ID_CHASSIS_COMPONENT:
case CFM_CHASSIS_ID_PORT_COMPONENT:
- safeputs(ndo, tptr + 1, chassis_id_length);
+ (void)nd_printzp(ndo, tptr + 1, chassis_id_length, NULL);
break;
default: