fixed improper routing-message flag

Obtained from: KAME
This commit is contained in:
suz 2004-01-08 07:25:04 +00:00
parent 21e6787900
commit 343f6ce16b

View File

@ -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: