summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ndp/ndp.c
diff options
context:
space:
mode:
authorsuz <suz@FreeBSD.org>2004-01-08 07:25:04 +0000
committersuz <suz@FreeBSD.org>2004-01-08 07:25:04 +0000
commit343f6ce16b1e2cc4f6fb15825ced63dc2d89dddc (patch)
tree2fdcbc7124952560f57f007ab4b17ce014d0c1bf /usr.sbin/ndp/ndp.c
parent21e6787900aa26e4eab836a91d34f366df0d97e7 (diff)
downloadFreeBSD-src-343f6ce16b1e2cc4f6fb15825ced63dc2d89dddc.zip
FreeBSD-src-343f6ce16b1e2cc4f6fb15825ced63dc2d89dddc.tar.gz
fixed improper routing-message flag
Obtained from: KAME
Diffstat (limited to 'usr.sbin/ndp/ndp.c')
-rw-r--r--usr.sbin/ndp/ndp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/ndp/ndp.c b/usr.sbin/ndp/ndp.c
index a761f96..256809a 100644
--- a/usr.sbin/ndp/ndp.c
+++ b/usr.sbin/ndp/ndp.c
@@ -890,7 +890,7 @@ rtmsg(cmd)
rtm->rtm_flags |= (RTF_HOST | RTF_STATIC);
if (rtm->rtm_flags & RTF_ANNOUNCE) {
rtm->rtm_flags &= ~RTF_HOST;
- rtm->rtm_flags |= RTA_NETMASK;
+ rtm->rtm_addrs |= RTA_NETMASK;
}
/* FALLTHROUGH */
case RTM_GET:
OpenPOWER on IntegriCloud