Squashed commit of the following:
commit
8c1be3ae06b4c6e3e60e738433aebb36edfec81c
Author: deramada <deramada@cisco.com>
Date: Fri Oct 2 12:52:51 2020 -0400
policy: copy uuid, user_policy_id, and policy_mode when an inspection policy is cloned
framework_policy = nullptr;
cloned = false;
if (other_inspection_policy)
+ {
policy_id = other_inspection_policy->policy_id;
-
+ policy_mode = other_inspection_policy->policy_mode;
+ user_policy_id = other_inspection_policy->user_policy_id;
+#ifdef HAVE_UUID
+ uuid_copy(uuid, other_inspection_policy->uuid);
+#endif
+ }
InspectorManager::new_policy(this, other_inspection_policy);
}