diff options
Diffstat (limited to 'plugin/business/doh/src/doh.cpp')
| -rw-r--r-- | plugin/business/doh/src/doh.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugin/business/doh/src/doh.cpp b/plugin/business/doh/src/doh.cpp index d14f8ab..89afd2a 100644 --- a/plugin/business/doh/src/doh.cpp +++ b/plugin/business/doh/src/doh.cpp @@ -266,7 +266,6 @@ static void doh_maat_scan(const struct tfe_stream *stream, const struct tfe_http { int hit_cnt = 0; int scan_ret = 0; - int app_id = 8006; size_t n_hit_result; struct ipaddr sapp_addr; long long p_result = 0; @@ -334,6 +333,7 @@ static void doh_maat_scan(const struct tfe_stream *stream, const struct tfe_http } } // scan appid + long long app_id = 8006; scan_ret = tfe_scan_app_id(result, ctx->scan_mid, hit_cnt, app_id, g_doh_conf->tables[TYPE_APPID].id); if(scan_ret > 0) { @@ -916,4 +916,4 @@ struct tfe_plugin doh_spec = { .on_session_begin = doh_on_begin, .on_session_data = doh_on_data, .on_session_end = doh_on_end}; -TFE_PLUGIN_REGISTER(DOH, doh_spec)
\ No newline at end of file +TFE_PLUGIN_REGISTER(DOH, doh_spec) |
