summaryrefslogtreecommitdiff
path: root/entry
diff options
context:
space:
mode:
Diffstat (limited to 'entry')
-rw-r--r--entry/include/kni_entry.h2
-rw-r--r--entry/src/kni_entry.cpp4
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";
}