]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-fr.c
NDOize safeputs() and safeputchar()
[tcpdump] / print-fr.c
index d49879b1afaf44a19d0d1ed10c59da09fbc03d9d..093d526efb8cd600874577c1e4a36daae7e208b7 100644 (file)
@@ -461,7 +461,7 @@ mfr_print(netdissect_options *ndo,
             case MFR_CTRL_IE_LINK_ID:
                 for (idx = 0; idx < ie_len && idx < MFR_ID_STRING_MAXLEN; idx++) {
                     if (*(tptr+idx) != 0) /* don't print null termination */
-                        safeputchar(*(tptr+idx));
+                        safeputchar(ndo, *(tptr + idx));
                     else
                         break;
                 }