DF-1880 / fix.diff
diff --git a/sys/dev/netif/oce/oce_hw.c b/sys/dev/netif/oce/oce_hw.c --- a/sys/dev/netif/oce/oce_hw.c +++ b/sys/dev/netif/oce/oce_hw.c @@ -565,7 +565,7 @@ if (ifma->ifma_addr->sa_family != AF_LINK) continue; - if (req->params.req.num_mac == OCE_MAX_MC_FILTER_SIZE) { + if (req->params.req.num_mac == nitems(req->params.req.mac)) { /*More multicast addresses than our hardware table So Enable multicast promiscus in our hardware to accept all multicat packets |