Fix typo.

Submitted by:	Olivér Pintér
This commit is contained in:
Alexander V. Chernikov 2015-01-09 20:29:13 +00:00
parent d6a052e0e6
commit ecf09f8321
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=276896

View File

@ -167,7 +167,7 @@ arc_output(struct ifnet *ifp, struct mbuf *m, const struct sockaddr *dst,
#endif
#ifdef INET6
case AF_INET6:
if ((m->m_flags & M_MCAST) != NULL)
if ((m->m_flags & M_MCAST) != 0)
adst = arcbroadcastaddr; /* ARCnet broadcast address */
else
error = nd6_storelladdr(ifp, m, dst, (u_char *)&adst, NULL);