diff options
| author | liuxueli <[email protected]> | 2023-08-24 10:57:50 +0800 |
|---|---|---|
| committer | liuxueli <[email protected]> | 2023-08-25 14:48:37 +0800 |
| commit | d237880added41a56879f2d13977c4b86ca01b20 (patch) | |
| tree | 9f3244c350cacb71bf002ed747bf3f768bae1af1 /src/tsg_tamper.cpp | |
| parent | ad13ce5481be453b00918352131ee71f55238c51 (diff) | |
OMPUB-1002: master处理dns atrribute识别出的application时未执行策略v6.0.47
Diffstat (limited to 'src/tsg_tamper.cpp')
| -rw-r--r-- | src/tsg_tamper.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tsg_tamper.cpp b/src/tsg_tamper.cpp index 3a283f4..473bd82 100644 --- a/src/tsg_tamper.cpp +++ b/src/tsg_tamper.cpp @@ -59,14 +59,14 @@ int swap_payload2byte(char *str, int endlen) return 0; } -int send_tamper_xxx(const struct streaminfo *a_stream, long *tamper_count, const void *raw_pkt) +int send_tamper_xxx(const struct streaminfo *a_stream, long *tamper_count) { const char *p_trans_payload = NULL; int trans_layload_len = 0; char tamper_buf[MTU_LEN] = {0}; int tamper_index = 0; - if(a_stream==NULL || raw_pkt==NULL) + if(a_stream==NULL) { tsg_stat_flow_update(STAT_STATUS_FAIL, FLOW_STAT_TAMPER, 1); return -1; |
