summaryrefslogtreecommitdiff
path: root/usr.sbin/ndp/ndp.c
diff options
context:
space:
mode:
authorFlorian Obser <florian@cvs.openbsd.org>2017-08-09 14:35:03 +0000
committerFlorian Obser <florian@cvs.openbsd.org>2017-08-09 14:35:03 +0000
commit1843bd71d1bc8e533a9a09e403d34cbe7c875335 (patch)
treeff2ab67ca0afe1f33ff4253a1a8e50ddde4d4d9c /usr.sbin/ndp/ndp.c
parentbd4fe9edbe78f40178894caba98dba5cce21e04d (diff)
accept_rtadv doesn't do anything since some time.
OK mpi
Diffstat (limited to 'usr.sbin/ndp/ndp.c')
-rw-r--r--usr.sbin/ndp/ndp.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/usr.sbin/ndp/ndp.c b/usr.sbin/ndp/ndp.c
index 75ff6f6168d..0081bb91ce7 100644
--- a/usr.sbin/ndp/ndp.c
+++ b/usr.sbin/ndp/ndp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ndp.c,v 1.83 2017/07/13 11:28:02 florian Exp $ */
+/* $OpenBSD: ndp.c,v 1.84 2017/08/09 14:35:02 florian Exp $ */
/* $KAME: ndp.c,v 1.101 2002/07/17 08:46:33 itojun Exp $ */
/*
@@ -917,7 +917,6 @@ ifinfo(char *ifname, int argc, char **argv)
}\
} while (0)
SETFLAG("nud", ND6_IFF_PERFORMNUD);
- SETFLAG("accept_rtadv", ND6_IFF_ACCEPT_RTADV);
nd.ndi.flags = newflags;
if (ioctl(s, SIOCSIFINFO_FLAGS, (caddr_t)&nd) < 0) {
@@ -940,9 +939,7 @@ ifinfo(char *ifname, int argc, char **argv)
if (nd.ndi.flags) {
printf("\nFlags: ");
if ((nd.ndi.flags & ND6_IFF_PERFORMNUD))
- printf("nud ");
- if ((nd.ndi.flags & ND6_IFF_ACCEPT_RTADV))
- printf("accept_rtadv ");
+ printf("nud");
}
putc('\n', stdout);