summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ndp
diff options
context:
space:
mode:
authormpi <mpi@openbsd.org>2016-08-15 08:52:03 +0000
committermpi <mpi@openbsd.org>2016-08-15 08:52:03 +0000
commit1fa97ce39f4941f5f895fb90d21494f66d6e3a6d (patch)
treec56cd9dc6c158ca8627912268ad90fd56b1635ea /usr.sbin/ndp
parentNeuter fuse_vptofh() and fuse_fhtovp(). I implemented those functions (diff)
downloadwireguard-openbsd-1fa97ce39f4941f5f895fb90d21494f66d6e3a6d.tar.xz
wireguard-openbsd-1fa97ce39f4941f5f895fb90d21494f66d6e3a6d.zip
Checking for RTF_BROADCAST here makes no sense.
Diffstat (limited to 'usr.sbin/ndp')
-rw-r--r--usr.sbin/ndp/ndp.c4
1 files 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;