From f8667773b60fadf2d7ae8715173b22e3f57b71a6 Mon Sep 17 00:00:00 2001 From: fengweihao Date: Sat, 10 Oct 2020 11:04:11 +0800 Subject: [PATCH] =?UTF-8?q?TSG-3466=20=E4=BF=AE=E5=A4=8D=E5=AE=89=E5=85=A8?= =?UTF-8?q?=E7=AD=96=E7=95=A5=E8=A1=A8=E5=90=8D=E8=BD=AC=E6=8D=A2=E8=B5=8B?= =?UTF-8?q?=E5=80=BC=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- platform/src/verify_policy.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {