From 343f6ce16b1e2cc4f6fb15825ced63dc2d89dddc Mon Sep 17 00:00:00 2001 From: suz Date: Thu, 8 Jan 2004 07:25:04 +0000 Subject: [PATCH] fixed improper routing-message flag Obtained from: KAME --- usr.sbin/ndp/ndp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.sbin/ndp/ndp.c b/usr.sbin/ndp/ndp.c index a761f96260b4..256809afa14e 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: