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
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to