summaryrefslogtreecommitdiff
path: root/platform/src/verify_policy.cpp
diff options
context:
space:
mode:
authorfengweihao <[email protected]>2020-10-10 11:04:11 +0800
committerfengweihao <[email protected]>2020-10-10 11:04:11 +0800
commitf8667773b60fadf2d7ae8715173b22e3f57b71a6 (patch)
tree14e8ffbd9ff5830660ef86797ede9d7a74ad2fb6 /platform/src/verify_policy.cpp
parent669783973cd393e565885f02a3a90610e93e3807 (diff)
TSG-3466 修复安全策略表名转换赋值错误
Diffstat (limited to 'platform/src/verify_policy.cpp')
-rw-r--r--platform/src/verify_policy.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/src/verify_policy.cpp b/platform/src/verify_policy.cpp
index 8400f45..eaa1915 100644
--- a/platform/src/verify_policy.cpp
+++ b/platform/src/verify_policy.cpp
@@ -89,7 +89,7 @@ enum verify_policy_type tsg_policy_type_str2idx(const char *action_str)
int protoco_field_type_str2idx(enum verify_policy_type type, const char *action_str, char *buff, char **p)
{
const char * table_name[__SECURITY_TABLE_MAX] ={0};
- size_t max = type != PXY_TABLE_MANIPULATION ? (int)PXY_SECURITY_APP_ID : (int)PXY_CTRL_DOH_HOST;
+ size_t max = type != PXY_TABLE_MANIPULATION ? (int)PXY_SECURITY_FTP_ACCOUNT : (int)PXY_CTRL_DOH_HOST;
switch(type)
{