From 111f5fc4dc229574268e5a9580b815b7afd8269c Mon Sep 17 00:00:00 2001 From: luwenpeng Date: Fri, 13 Nov 2020 09:19:12 +0600 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=20traffic=20mirror=20?= =?UTF-8?q?=E9=BB=98=E8=AE=A4=E4=BD=BF=E7=94=A8=E7=9A=84=20src/dst=20mac?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugin/business/traffic-mirror/src/entry.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugin/business/traffic-mirror/src/entry.cpp b/plugin/business/traffic-mirror/src/entry.cpp index 90e1d50..50b336d 100644 --- a/plugin/business/traffic-mirror/src/entry.cpp +++ b/plugin/business/traffic-mirror/src/entry.cpp @@ -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) {