diff options
author | bms <bms@FreeBSD.org> | 2004-10-07 20:56:29 +0000 |
---|---|---|
committer | bms <bms@FreeBSD.org> | 2004-10-07 20:56:29 +0000 |
commit | 1eb71f101cf981b5b465a5c2fdf306d440e51be0 (patch) | |
tree | da810f3d40d23759f504242e39b67de03a5d24b4 /sys/dev/fe | |
parent | 9f393944aedc1b3a3b6a7dd68fb198bcf312a07a (diff) | |
download | FreeBSD-src-1eb71f101cf981b5b465a5c2fdf306d440e51be0.zip FreeBSD-src-1eb71f101cf981b5b465a5c2fdf306d440e51be0.tar.gz |
Style. Use ETHER_IS_MULTICAST() appropriately instead of masking off the bit.
Reviewed by: jmallett
Diffstat (limited to 'sys/dev/fe')
-rw-r--r-- | sys/dev/fe/if_fe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/fe/if_fe.c b/sys/dev/fe/if_fe.c index ddf3fc5..4713ef4 100644 --- a/sys/dev/fe/if_fe.c +++ b/sys/dev/fe/if_fe.c @@ -250,7 +250,7 @@ valid_Ether_p (u_char const * addr, unsigned vendor) case 0x020000: /* Same as above, but a local address is allowed in this context. */ - if ((addr[0] & 0x01) != 0) return 0; + if (ETHER_IS_MULTICAST(addr)) return 0; break; default: /* Make sure the vendor part matches if one is given. */ |