]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-lldp.c
Remove more old-compiler compensation.
[tcpdump] / print-lldp.c
index 9445f702f84868f3c8e185638230399f4f774e04..a578f4ea133b7fdebf6bc886acb1b55d53bcc219 100644 (file)
@@ -1360,10 +1360,10 @@ lldp_network_addr_print(netdissect_options *ndo, const u_char *tptr, u_int len)
     }
 
     if (!pfunc) {
     }
 
     if (!pfunc) {
-        nd_snprintf(buf, sizeof(buf), "AFI %s (%u), no AF printer !",
+        snprintf(buf, sizeof(buf), "AFI %s (%u), no AF printer !",
                  tok2str(af_values, "Unknown", af), af);
     } else {
                  tok2str(af_values, "Unknown", af), af);
     } else {
-        nd_snprintf(buf, sizeof(buf), "AFI %s (%u): %s",
+        snprintf(buf, sizeof(buf), "AFI %s (%u): %s",
                  tok2str(af_values, "Unknown", af), af, (*pfunc)(ndo, tptr+1));
     }
 
                  tok2str(af_values, "Unknown", af), af, (*pfunc)(ndo, tptr+1));
     }