修改 traffic mirror 默认使用的 src/dst mac

This commit is contained in:
luwenpeng
2020-11-13 09:19:12 +06:00
parent 0603ff3d3b
commit 111f5fc4dc

View File

@@ -554,8 +554,8 @@ errout:
}
const static ether_addr zero_mac = {0};
const static unsigned char default_src_mac[6] = {0x01, 0x02, 0x03, 0x04, 0x05, 0x06};
const static unsigned char default_dst_mac[6] = {0x06, 0x05, 0x04, 0x03, 0x02, 0x01};
const static unsigned char default_src_mac[6] = {0x00, 0x01, 0x02, 0x03, 0x04, 0x05};
const static unsigned char default_dst_mac[6] = {0x00, 0x05, 0x04, 0x03, 0x02, 0x01};
int traffic_mirror_on_open_cb(const struct tfe_stream * stream, unsigned int thread_id,
enum tfe_conn_dir dir, void ** pme)
{