修改action判断逻辑

This commit is contained in:
崔一鸣
2019-06-04 13:25:44 +08:00
parent 1fa7a0673f
commit f89c0cf902
3 changed files with 89 additions and 42 deletions

View File

@@ -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);