diff options
| author | fumingwei <[email protected]> | 2020-11-18 11:09:49 +0800 |
|---|---|---|
| committer | fumingwei <[email protected]> | 2020-11-18 11:09:49 +0800 |
| commit | 8b136892190adc813835fbcf360fd55c0c9308a4 (patch) | |
| tree | a6f5ee18f554f4ba13d4c0018def465326cc54ff | |
| parent | f6d1080a85cb88878686940a57e8f0a9da9f51be (diff) | |
1.修改获取in_bytes 和 out_bytes 宏v20.11.03
| -rw-r--r-- | entry/src/kni_entry.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/entry/src/kni_entry.cpp b/entry/src/kni_entry.cpp index 81ecf91..9a90d91 100644 --- a/entry/src/kni_entry.cpp +++ b/entry/src/kni_entry.cpp @@ -1548,11 +1548,11 @@ static int kni_set_policy_into_pem_info(const struct streaminfo *a_stream, struc return -1; traffic_info->con_num = 1; - MESA_get_stream_opt(a_stream, MSO_TOTAL_INBOUND_BYTE, (void *)&traffic_info->in_bytes, &value_len); + MESA_get_stream_opt(a_stream, MSO_TOTAL_INBOUND_BYTE_RAW, (void *)&traffic_info->in_bytes, &value_len); MESA_get_stream_opt(a_stream, MSO_TOTAL_INBOUND_PKT, (void *)&traffic_info->in_packets, &value_len); - MESA_get_stream_opt(a_stream, MSO_TOTAL_OUTBOUND_BYTE, (void *)&traffic_info->out_bytes, &value_len); + MESA_get_stream_opt(a_stream, MSO_TOTAL_OUTBOUND_BYTE_RAW, (void *)&traffic_info->out_bytes, &value_len); MESA_get_stream_opt(a_stream, MSO_TOTAL_OUTBOUND_PKT, (void *)&traffic_info->out_packets, &value_len); |
