diff options
| author | fumingwei <[email protected]> | 2021-05-11 11:57:38 +0800 |
|---|---|---|
| committer | fumingwei <[email protected]> | 2021-05-11 11:57:38 +0800 |
| commit | d64fa9ab847af81189b9751467ff21d87f7c3ceb (patch) | |
| tree | 18e5ac828ce8bbb69dfaf60b2671ad6c7b6a7372 | |
| parent | 7c83a5eb33e86d6cd15e7db7d90c4a233fa31643 (diff) | |
修改输出stream_error bugv21.05.02
| -rw-r--r-- | entry/include/kni_entry.h | 2 | ||||
| -rw-r--r-- | entry/src/kni_entry.cpp | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/entry/include/kni_entry.h b/entry/include/kni_entry.h index e2df749..0a45095 100644 --- a/entry/include/kni_entry.h +++ b/entry/include/kni_entry.h @@ -35,7 +35,7 @@ enum intercept_error{ INTERCEPT_ERROR_STREAM_TUNNLE_TYPE= -13, INTERCEPT_ERROR_GET_STREAM_TUNNLE_TYPE_ERR= -14, INTERCEPT_ERROR_GET_HAVE_DUP_PKT_ERR= -15, - INTERCEPT_ERROR_DUP_PKT_NOT_SURE_ERR= -15, + INTERCEPT_ERROR_DUP_PKT_NOT_SURE_ERR= -16, }; /* action diff --git a/entry/src/kni_entry.cpp b/entry/src/kni_entry.cpp index aec1ffe..19cbd97 100644 --- a/entry/src/kni_entry.cpp +++ b/entry/src/kni_entry.cpp @@ -94,6 +94,10 @@ static char* stream_errmsg_session_record(enum intercept_error _errno){ return (char *)"e_stream_type_tunnel"; case INTERCEPT_ERROR_GET_STREAM_TUNNLE_TYPE_ERR: return (char *)"e_internal_8"; + case INTERCEPT_ERROR_GET_HAVE_DUP_PKT_ERR: + return (char *)"e_internal_9"; + case INTERCEPT_ERROR_DUP_PKT_NOT_SURE_ERR: + return (char *)"e_internal_10"; default: return (char*)"unknown error"; } |
