summaryrefslogtreecommitdiff
path: root/entry/include
diff options
context:
space:
mode:
author崔一鸣 <[email protected]>2019-06-04 13:25:44 +0800
committer崔一鸣 <[email protected]>2019-06-04 13:25:44 +0800
commitf89c0cf902cc41be1a8dd610dbfe17a380714156 (patch)
tree470129c74c8b26d8ed3bf54a233dd07b2e49d48d /entry/include
parent1fa7a0673f37f2e9d1b54ba367e0989a9a82d2fa (diff)
修改action判断逻辑
Diffstat (limited to 'entry/include')
-rw-r--r--entry/include/kni_maat.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/entry/include/kni_maat.h b/entry/include/kni_maat.h
index 2ad819b..ae339d3 100644
--- a/entry/include/kni_maat.h
+++ b/entry/include/kni_maat.h
@@ -6,9 +6,9 @@
struct kni_maat_handle;
enum kni_action{
- KNI_ACTION_UNKNOWN = 0,
- KNI_ACTION_INTERCEPT,
- KNI_ACTION_BYPASS,
+ KNI_ACTION_NONE = 0x00,
+ KNI_ACTION_INTERCEPT = 0x02,
+ KNI_ACTION_BYPASS = 0x80,
};
struct kni_maat_handle* kni_maat_init(const char* profile, void *logger);