summaryrefslogtreecommitdiff
path: root/plugin
diff options
context:
space:
mode:
authorluwenpeng <[email protected]>2020-11-13 09:19:12 +0600
committerluwenpeng <[email protected]>2020-11-13 20:29:58 +0600
commit111f5fc4dc229574268e5a9580b815b7afd8269c (patch)
treeb61022511ceefbe5997908c833cfdda1d667616b /plugin
parent0603ff3d3b863d873b101f4b05b97e2ce85c86ff (diff)
修改 traffic mirror 默认使用的 src/dst mac
Diffstat (limited to 'plugin')
-rw-r--r--plugin/business/traffic-mirror/src/entry.cpp4
1 files 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)
{