summaryrefslogtreecommitdiff
path: root/tools/tcpdump
diff options
context:
space:
mode:
authorsongyanchao <[email protected]>2023-12-14 08:28:19 +0000
committersongyanchao <[email protected]>2023-12-15 04:03:30 +0000
commitd50641cd11ae06ef246039d46764d1b1e173cdcb (patch)
treef955665eb36afd2886922b6368995f89a1af4393 /tools/tcpdump
parentbfbc182a7f0e7e5ce2ec41ae47392f287882f37b (diff)
✨ feat(TSG-17860): Add processing logic for traffic link id in etherfabric node.
Add processing logic for traffic link id in etherfabric node.
Diffstat (limited to 'tools/tcpdump')
-rw-r--r--tools/tcpdump/pdump.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/tcpdump/pdump.c b/tools/tcpdump/pdump.c
index 5916dc2..bdabdd0 100644
--- a/tools/tcpdump/pdump.c
+++ b/tools/tcpdump/pdump.c
@@ -593,7 +593,7 @@ int mr_pcapng_add_opt(struct rte_mbuf * mbuf, uint16_t port_id, uint32_t rx_tx_f
len = snprintf(str_dir, str_maxlen, "dir:%u", mrb_metadata->dir);
len += snprintf(str_dir + len, str_maxlen - len, ", ef_link_id:%u", mrb_metadata->ef_link_id);
- len += snprintf(str_dir + len, str_maxlen - len, ", global_link_id:%u", mrb_metadata->global_link_id);
+ len += snprintf(str_dir + len, str_maxlen - len, ", traffic_link_id:%u", mrb_metadata->traffic_link_id);
len += snprintf(str_dir + len, str_maxlen - len, ", ef_peer_id:%u", mrb_metadata->peer_index);
len = snprintf(str_sid_raw, str_maxlen - len, "sid raw head:%u", sid_list->head);