bugfix: TSG-7285 在TSG-9140设备上,Proxy解密流量转发封装MAC地址时未使用策略中指定的MAC

This commit is contained in:
luwenpeng
2021-08-06 14:52:33 +08:00
parent be8de2eaf4
commit 95d05be338
3 changed files with 28 additions and 19 deletions

View File

@@ -51,6 +51,8 @@ struct profile_table_ex_data
/* Target VLANS */
unsigned int * vlans;
struct ether_addr * ether_addrs;
int rewrite_mac;
int rewrite_vlan;
};
struct traffic_mirror_ethdev_pcap
@@ -100,6 +102,8 @@ struct traffic_mirror_rebuild_target
{
struct ether_addr ether_addr;
unsigned int vlan_tci;
int rewrite_as_target_mac;
int rewrite_as_target_vlan;
};
struct traffic_mirror_ethdev * traffic_mirror_ethdev_pcap_create(const char * str_ethdev, void * logger);