TSG-7234 调整Proxy的解密流量转发的配置,以适配TSG-9140下解密流量转发需求
This commit is contained in:
@@ -286,7 +286,7 @@ void profile_table_ex_data_new_cb(int table_id, const char * key, const char * t
|
||||
}
|
||||
|
||||
ex_data->ether_addrs[iter] = ether_addr_aton;
|
||||
ex_data->vlans[iter] = 0;
|
||||
ex_data->vlans[iter] = instance->default_vlan_id_for_mac;
|
||||
iter++;
|
||||
}
|
||||
|
||||
@@ -451,6 +451,7 @@ static int traffic_mirror_ethdev_init(struct traffic_mirror_instance * instance)
|
||||
return -1;
|
||||
}
|
||||
|
||||
MESA_load_profile_uint_def(profile, "traffic_mirror", "default_vlan_id_for_mac", &(instance->default_vlan_id_for_mac), 0);
|
||||
unsigned int device_type;
|
||||
MESA_load_profile_uint_def(profile, "traffic_mirror", "type", &device_type, TRAFFIC_MIRROR_ETHDEV_AF_PACKET);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user