diff --git a/sys/net/if_llatbl.c b/sys/net/if_llatbl.c index c9b41f9bd376..8e193c15e4cf 100644 --- a/sys/net/if_llatbl.c +++ b/sys/net/if_llatbl.c @@ -323,7 +323,7 @@ lla_rt_output(struct rt_msghdr *rtm, struct rt_addrinfo *info) LLTABLE_RUNLOCK(); KASSERT(llt != NULL, ("Yep, ugly hacks are bad\n")); - if (flags && LLE_CREATE) + if (flags & LLE_CREATE) flags |= LLE_EXCLUSIVE; IF_AFDATA_LOCK(ifp);