summaryrefslogtreecommitdiff
path: root/usr.sbin/ndp
diff options
context:
space:
mode:
authorJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2004-01-08 06:51:45 +0000
committerJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2004-01-08 06:51:45 +0000
commiteb8106f9b63468b43268604bdc46d60e44f33e88 (patch)
tree7de527a888833c34b690e7d1d46e368e124da570 /usr.sbin/ndp
parent101ffcdfc3d33094014f7c396121a4084afc532b (diff)
typo fix (must be rtm_addrs). from fujitsu
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 6c30e0a7556..62e7c595353 100644
--- a/usr.sbin/ndp/ndp.c
+++ b/usr.sbin/ndp/ndp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ndp.c,v 1.31 2003/10/02 03:26:07 itojun Exp $ */
+/* $OpenBSD: ndp.c,v 1.32 2004/01/08 06:51:44 itojun Exp $ */
/* $KAME: ndp.c,v 1.101 2002/07/17 08:46:33 itojun Exp $ */
/*
@@ -867,7 +867,7 @@ rtmsg(int 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: