svn commit: r279828 - head/sys/dev/cadence

Hans Petter Selasky hps at selasky.org
Wed Mar 11 09:46:42 UTC 2015


On 03/09/15 23:39, Ian Lepore wrote:
> -		if ((ifp->if_flags & IFF_BROADCAST) == 0)
> +		if ((if_getflags(ifp) & IFF_BROADCAST) == 0)

A comment:

I think it would be better if the flags were not a bitmask, but an enum 
or structure, allowing for more than 32 or 64 bit-flags.

if (if_getflags(ifp, broadcast) == 0)

--HPS


More information about the svn-src-head mailing list