diff options
| author | liuchang <[email protected]> | 2023-07-03 08:43:49 +0000 |
|---|---|---|
| committer | liuchang <[email protected]> | 2023-07-03 08:43:49 +0000 |
| commit | 96c628d2cda78c5952963d764b3f821951ff862c (patch) | |
| tree | 7ec928221fc9dce93626d071b83ba4392555b3d4 /shaping/src/shaper_session.cpp | |
| parent | 301613cec7f20aa45f4f56c958a38458a7f8f545 (diff) | |
check if the rule is enabled before get token, check interval default 120s
Diffstat (limited to 'shaping/src/shaper_session.cpp')
| -rw-r--r-- | shaping/src/shaper_session.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shaping/src/shaper_session.cpp b/shaping/src/shaper_session.cpp index 946a56f..f43f76f 100644 --- a/shaping/src/shaper_session.cpp +++ b/shaping/src/shaper_session.cpp @@ -140,7 +140,7 @@ static void shaper_session_log_send(struct shaping_thread_ctx *ctx, struct shapi goto END; } - sids.elems[0] = ctx->firewall_sid; + sids.elems[0] = ctx->conf.firewall_sid; sids.num = 1; if (marsio_buff_set_sid_list(tx_buff, sids.elems, sids.num) != 0) { LOG_ERROR("%s: marsio_buff_set_sid_list failed for session %s", LOG_TAG_SHAPING, addr_str); |
