diff options
| author | songyanchao <[email protected]> | 2023-06-01 07:05:49 +0000 |
|---|---|---|
| committer | songyanchao <[email protected]> | 2023-06-01 07:05:49 +0000 |
| commit | 7a9dca3600ac9de5572661a1a30e7f22b1e3cca6 (patch) | |
| tree | c116dfb1817c9d75057dbcceb12996ce5e5c06b7 /tools/tcpdump | |
| parent | e54fc0cfc7f4024b95aa0c6594ab9c4db8c6fd0e (diff) | |
🎈 perf: rename link_db to peer
rename link_db to peer
Diffstat (limited to 'tools/tcpdump')
| -rw-r--r-- | tools/tcpdump/pdump.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/tcpdump/pdump.c b/tools/tcpdump/pdump.c index d817262..472a853 100644 --- a/tools/tcpdump/pdump.c +++ b/tools/tcpdump/pdump.c @@ -570,7 +570,7 @@ int mr_pcapng_set_opt(struct rte_mbuf * mbuf, uint16_t port_id, uint32_t flags) len = snprintf(str_dir, METADATA_MAX_SIZE, "dir:%u", mrb_metadata->dir); len += snprintf(str_dir + len, METADATA_MAX_SIZE - len, ", ef_link_id:%u", mrb_metadata->link_id); - len += snprintf(str_dir + len, METADATA_MAX_SIZE - len, ", ef_peer_id:%u", mrb_metadata->link_db_index); + len += snprintf(str_dir + len, METADATA_MAX_SIZE - len, ", ef_peer_id:%u", mrb_metadata->peer_index); uint16_t optlen = pcapng_optlen(strlen(str_rx_tx)); optlen += pcapng_optlen(strlen(str_sid)); |
