Hi,

> If the destination address is not broadcast frame, the number of
> forwarded unicast frame is increased. And the other way round. Not
> correct?
> 
> +             if (!is_multicast_ether_addr(da))
> +                     ifmsh->mshstats.fwded_unicast++;
> +             else
> +                     ifmsh->mshstats.fwded_mcast++;

No, your new code is fine, but this

> >> +             if (da != broadcast_addr)

will never be false.

johannes

_______________________________________________
Devel mailing list
[email protected]
http://lists.open80211s.org/cgi-bin/mailman/listinfo/devel

Reply via email to