Squashed commit of the following:
commit
4ef0ca4751a18219dcca764e81dcd3038d8b573a
Author: Steven Baigal (sbaigal) <sbaigal@cisco.com>
Date: Sat Oct 16 10:08:05 2021 -0400
policy: update policy clone code to avoid corrupting active configuration
for ( auto p : other_map->shell_map )
{
if ( p.second->inspection == other_map->inspection_policy[0] )
- shell_map[p.first]->inspection = inspection_policy[0];
+ shell_map[p.first] = std::make_shared<PolicyTuple>(inspection_policy[0], p.second->ips,
+ p.second->network);
}
user_inspection = other_map->user_inspection;