diff options
| author | fumingwei <[email protected]> | 2020-10-19 20:39:21 +0800 |
|---|---|---|
| committer | 付明卫 <[email protected]> | 2020-10-29 13:25:09 +0800 |
| commit | 50eea557a651d1721b7bac06f8a9449a2d66bf21 (patch) | |
| tree | 59beb67640195c29503e88d9cabe96992670931b /entry | |
| parent | 7ca3d5cfe81ecc84445c934445d1b4bb40a419d5 (diff) | |
修改拦tunnel stream错误问题
Diffstat (limited to 'entry')
| -rw-r--r-- | entry/src/kni_entry.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/entry/src/kni_entry.cpp b/entry/src/kni_entry.cpp index 8830659..23f7378 100644 --- a/entry/src/kni_entry.cpp +++ b/entry/src/kni_entry.cpp @@ -1581,7 +1581,7 @@ extern "C" char kni_tcpall_entry(struct streaminfo *stream, void** pme, int thre } ret=MESA_get_stream_opt(stream, MSO_STREAM_TUNNEL_TYPE, (void *)&stream_tunnel_type, &stream_tunnel_type_len); - if(ret != STREAM_TUNNLE_NON) + if(stream_tunnel_type != STREAM_TUNNLE_NON) { KNI_LOG_DEBUG(logger, "stream type is tunnel, type = %d",ret); return APP_STATE_FAWPKT | APP_STATE_DROPME; |
