From 86f8864e4558bcb258aa5454ce8b3b2f6ef6a384 Mon Sep 17 00:00:00 2001 From: yangyubo Date: Tue, 19 Sep 2023 16:28:50 +0800 Subject: [PATCH] =?UTF-8?q?TSG-17051:=E6=9B=B4=E6=96=B0ipfix=5Fconf.json?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bin/ipfix_conf.json | 8 ++++---- src/tsg_sync_state.cpp | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/bin/ipfix_conf.json b/bin/ipfix_conf.json index 06a23e0..57d7a15 100644 --- a/bin/ipfix_conf.json +++ b/bin/ipfix_conf.json @@ -1,7 +1,7 @@ { "version":10, - "collector_ip": "192.168.38.214", - "collector_port": 4739, + "collector_ip": "192.168.44.16", + "collector_port": 11001, "device_name": "test_device", "domain_id": 1, "PEN_number": 54450, @@ -989,7 +989,7 @@ "SSH_elements": [ { "element_name": "ssh_version", - "element_type": "string", + "element_type": "unsigned64", "element_id": 168 }, { @@ -1038,7 +1038,7 @@ "element_id": 177 }, { - "element_name": "ssh_hash", + "element_name": "ssh_hassh", "element_type": "string", "element_id": 178 } diff --git a/src/tsg_sync_state.cpp b/src/tsg_sync_state.cpp index 0016743..587931c 100644 --- a/src/tsg_sync_state.cpp +++ b/src/tsg_sync_state.cpp @@ -45,7 +45,7 @@ static int mpack_send_pkt(const struct streaminfo *a_stream, mpack_writer_t *wri ret=sapp_inject_ctrl_pkt((struct streaminfo *)a_stream, SIO_DEFAULT, *mpack_data, *mpack_size, a_stream->routedir); if (ret==-1) { - MASTER_LOG(g_tsg_para.logger, RLOG_LV_DEBUG, LOG_MODULE_MPACK, "MSGPACK_BUFF_SEND An error occurred injecting the data! addr: %s", printaddr(&(a_stream->addr), a_stream->threadnum)); + MASTER_LOG(g_tsg_para.logger, RLOG_LV_FATAL, LOG_MODULE_MPACK, "MSGPACK_BUFF_SEND An error occurred injecting the data! addr: %s", printaddr(&(a_stream->addr), a_stream->threadnum)); } free(*mpack_data);