diff options
| author | 童宗振 <[email protected]> | 2024-05-17 01:50:30 +0000 |
|---|---|---|
| committer | 童宗振 <[email protected]> | 2024-05-17 01:50:30 +0000 |
| commit | bd53868d73a6785ed85a725aae0a76d7b1f612e9 (patch) | |
| tree | 05ad61ad2ca5705666fbf72587954a04cddf1082 /infra | |
| parent | 64ad4ff87c581a0b91d56fb4a69d52996c7a0e72 (diff) | |
Fix send pkt measurement lossv4.8.10-20240517
Diffstat (limited to 'infra')
| -rw-r--r-- | infra/src/dp_trace.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/infra/src/dp_trace.c b/infra/src/dp_trace.c index 2ca343a..ef6a0c7 100644 --- a/infra/src/dp_trace.c +++ b/infra/src/dp_trace.c @@ -608,7 +608,7 @@ static inline void dp_trace_buffer_initialize(struct dp_trace_process * trace, s inet_ntop(AF_INET, &ipv4_hdr->dst_addr, dp_trace_buffer->inner_dst_addr_str, sizeof(dp_trace_buffer->inner_dst_addr_str)); } - else if (this_layer_type_mask & LAYER_TYPE_IPV6) + else if (this_layer_type_mask == LAYER_TYPE_IPV6) { struct rte_ipv6_hdr ipv6_hdr_copy; const struct rte_ipv6_hdr * ipv6_hdr = |
