summaryrefslogtreecommitdiff
path: root/platform/src/verify_policy.cpp
diff options
context:
space:
mode:
authorfengweihao <[email protected]>2021-03-02 18:17:31 +0800
committerfengweihao <[email protected]>2021-03-02 18:17:31 +0800
commit9d7142e164b53e2de451d74a82cb4556032e8353 (patch)
tree9c84a938e73b91690219d64ad23725f65dc148a0 /platform/src/verify_policy.cpp
parentc900e0ab28369f46e0bbb0997420ee963556e90a (diff)
TSG-5661 策略验证支持VOIP协议v2.1.5-20210305
Diffstat (limited to 'platform/src/verify_policy.cpp')
-rw-r--r--platform/src/verify_policy.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/platform/src/verify_policy.cpp b/platform/src/verify_policy.cpp
index 2efeb8f..85f120f 100644
--- a/platform/src/verify_policy.cpp
+++ b/platform/src/verify_policy.cpp
@@ -135,7 +135,9 @@ int protoco_field_type_str2idx(enum verify_policy_type type, const char *action_
table_name[PXY_SECURITY_FTP_URI] = "TSG_FIELD_FTP_URI";
table_name[PXY_SECURITY_FTP_CONTENT] = "TSG_FIELD_FTP_CONTENT";
table_name[PXY_SECURITY_FTP_ACCOUNT] = "TSG_FIELD_FTP_ACCOUNT";
- scan_table_max = PXY_SECURITY_FTP_ACCOUNT;
+ table_name[PXY_SECURITY_SIP_FROM]="TSG_FIELD_SIP_FROM";
+ table_name[PXY_SECURITY_SIP_TO]="TSG_FIELD_SIP_TO";
+ scan_table_max = PXY_SECURITY_SIP_TO;
break;
case PXY_TABLE_WANNAT:
table_name[PXY_WANNAT_SOURCE_ADDR]="TSG_SECURITY_SOURCE_ADDR";