From 1fa97ce39f4941f5f895fb90d21494f66d6e3a6d Mon Sep 17 00:00:00 2001 From: mpi Date: Mon, 15 Aug 2016 08:52:03 +0000 Subject: [PATCH] Checking for RTF_BROADCAST here makes no sense. --- usr.sbin/ndp/ndp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr.sbin/ndp/ndp.c b/usr.sbin/ndp/ndp.c index cc16682fc80..4f56eb70aa2 100644 --- a/usr.sbin/ndp/ndp.c +++ b/usr.sbin/ndp/ndp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ndp.c,v 1.77 2016/08/05 11:53:23 jca Exp $ */ +/* $OpenBSD: ndp.c,v 1.78 2016/08/15 08:52:03 mpi Exp $ */ /* $KAME: ndp.c,v 1.101 2002/07/17 08:46:33 itojun Exp $ */ /* @@ -512,7 +512,7 @@ delete(char *host) if (IN6_ARE_ADDR_EQUAL(&sin->sin6_addr, &sin_m.sin6_addr)) { if (sdl->sdl_family == AF_LINK && rtm->rtm_flags & RTF_LLINFO) { - if (rtm->rtm_flags & (RTF_LOCAL|RTF_BROADCAST)) + if (rtm->rtm_flags & RTF_LOCAL) return (0); if (!(rtm->rtm_flags & RTF_GATEWAY)) goto delete; -- 2.20.1