diff options
| author | yangwei <[email protected]> | 2024-11-25 19:22:41 +0800 |
|---|---|---|
| committer | yangwei <[email protected]> | 2024-11-25 19:22:41 +0800 |
| commit | e2776414401af0bc02beb305b0d366fe3828cffd (patch) | |
| tree | 46aecfbe9531f15717626b2b4ec8d2a39e5603f2 /deps/utable/ipfix_exporter_example.cpp | |
| parent | 40083638202cbedea0728ce0ebe49472212aad9f (diff) | |
✨ feat(deps/utable): define kv in utable.h temporary
Diffstat (limited to 'deps/utable/ipfix_exporter_example.cpp')
| -rw-r--r-- | deps/utable/ipfix_exporter_example.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/deps/utable/ipfix_exporter_example.cpp b/deps/utable/ipfix_exporter_example.cpp index c7811c4..a6c11c2 100644 --- a/deps/utable/ipfix_exporter_example.cpp +++ b/deps/utable/ipfix_exporter_example.cpp @@ -132,7 +132,7 @@ void *ipfix_worker_thread_data_flow_send(void *arg) { struct utable *table = utable_new(); ipfix_exporter_test_utable_init(table, i, ipfix_schema_json_path); - utable_delete_item(table, "decoded_as"); + utable_delete(table, "decoded_as", strlen("decoded_as")); utable_add_cstring(table, "decoded_as", template_id_list[i].template_name, strlen(template_id_list[i].template_name)); size_t blob_len = 0; |
