Skip to content

Commit e5fddc5

Browse files
committed
Also configure multicast addrs
1 parent 48e48f6 commit e5fddc5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/mac/frame_filtering/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,13 +164,15 @@ impl FrameFiltering {
164164

165165
let mut dest_addrs = dest_addrs.iter();
166166
let mut source_addrs = source_addrs.iter();
167+
let mut multicast_addrs = multicast_addrs.iter();
167168

168169
macro_rules! next_addr_reg {
169170
($regh:ident, $regl:ident, $ah:ident, $al:ident) => {
170171
if let Some((addr, sa)) = dest_addrs
171172
.next()
172173
.map(|v| (v, false))
173174
.or(source_addrs.next().map(|v| (v, true)))
175+
.or(multicast_addrs.next().map(|v| (v, false)))
174176
{
175177
eth_mac.$regh.write(|w| {
176178
w.ae()

0 commit comments

Comments
 (0)