When removing group from a clause, and the clause is empty, the clause id should be cleared.

This commit is contained in:
Zheng Chao
2024-07-01 14:48:29 +08:00
parent e5f45366c0
commit 2d77b9c88d
2 changed files with 2 additions and 0 deletions

View File

@@ -3124,6 +3124,7 @@ TEST_F(IPScan, RuleUpdates) {
}
TEST_F(IPScan, RuleChangeClauseId) {
//This test is a reproduce of bug OMPUB-1343.
const char *src_table_name = "VIRTUAL_IP_PLUS_SOURCE";
const char *dst_table_name = "VIRTUAL_IP_PLUS_DESTINATION";
const char *phy_ip_table_name = "IP_PLUS_CONFIG";