summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--conf/table_info.json4
-rw-r--r--shaping/src/shaper.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/conf/table_info.json b/conf/table_info.json
index a792caa..a05c22c 100644
--- a/conf/table_info.json
+++ b/conf/table_info.json
@@ -3,11 +3,11 @@
"table_id": 0,
"table_name": "TRAFFIC_SHAPING_COMPILE",
"table_type": "plugin",
- "valid_column": 8,
+ "valid_column": 9,
"custom": {
"key": 1,
"key_type": "integer",
- "key_len": 9
+ "key_len": 8
}
},
{
diff --git a/shaping/src/shaper.cpp b/shaping/src/shaper.cpp
index e0fc695..a88fd58 100644
--- a/shaping/src/shaper.cpp
+++ b/shaping/src/shaper.cpp
@@ -434,7 +434,7 @@ static void shaper_token_get_cb(const struct swarmkv_reply *reply, void * cb_arg
shaper_global_stat_async_callback_inc(ctx->global_stat);
shaper_global_stat_tconsume_callback_inc(ctx->global_stat);
- LOG_INFO("Swarmkv reply type =%d, direction =%d, integer =%llu",reply->type, arg->direction, reply->integer);
+ LOG_INFO("Swarmkv reply type =%d, profile_id %d, direction =%d, integer =%llu",reply->type, profile->id, arg->direction, reply->integer);
if (reply->type != SWARMKV_REPLY_INTEGER) {
shaper_global_stat_async_tconsume_failed_inc(ctx->global_stat);