Commit 90d405a9 authored by Mathias Kreider's avatar Mathias Kreider

EBS: fix for promiscous mode being the default, now properly filtering RX by own or broadcast MAC

parent ba955bcb
......@@ -112,6 +112,9 @@ begin
r_state <= S_WAIT;
r_state_next <= S_ETHERNET;
r_count <= f_step(c_eth_len);
elsif snk_i.stb = '1' and s_stall = '0' and snk_i.adr = c_WRF_STATUS and snk_i.dat(15 downto 8) /= x"80" then
-- if this isn't tagged as WRF packet class 7 (0x80), it's neither a broadcast, nor our own mac. Drop it.
r_state <= S_DROP;
elsif snk_i.stb = '1' and s_stall = '0' and snk_i.adr = c_WRF_DATA then
-- defaults
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment