refactor: rename packet_dump_stdio() to packet_print()

This commit is contained in:
luwenpeng
2024-08-21 14:00:51 +08:00
parent 7625f62a80
commit f2f5441b4c
9 changed files with 48 additions and 48 deletions

View File

@@ -167,7 +167,7 @@ int packet_dump_str(const struct packet *pkt, char *buff, int size)
return used;
}
void packet_dump_stdio(const struct packet *pkt)
void packet_print(const struct packet *pkt)
{
char buff[4096] = {};
packet_dump_str(pkt, buff, sizeof(buff));