diff options
Diffstat (limited to 'usr.sbin/ndp')
-rw-r--r-- | usr.sbin/ndp/ndp.c | 2 |
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: |