summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorStuart Henderson <sthen@cvs.openbsd.org>2021-11-07 19:38:26 +0000
committerStuart Henderson <sthen@cvs.openbsd.org>2021-11-07 19:38:26 +0000
commita37b82de81cfd403b433bbb443fa2725d05aeac3 (patch)
tree8f1a4005bd5dacd1a8658d681e633e3e6040c5f8 /sys
parentc4c4d50c51a344b4ae31a9a0e4bedc9adcb86717 (diff)
net.inet6.icmp6.nd6_debug doesn't need to warn about RDNSS/DNSSL options
ok phessler@
Diffstat (limited to 'sys')
-rw-r--r--sys/netinet6/nd6.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/netinet6/nd6.c b/sys/netinet6/nd6.c
index e7d6e26593c..70acc36fcc0 100644
--- a/sys/netinet6/nd6.c
+++ b/sys/netinet6/nd6.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: nd6.c,v 1.235 2021/03/08 16:49:07 florian Exp $ */
+/* $OpenBSD: nd6.c,v 1.236 2021/11/07 19:38:25 sthen Exp $ */
/* $KAME: nd6.c,v 1.280 2002/06/08 19:52:07 itojun Exp $ */
/*
@@ -271,6 +271,10 @@ nd6_options(union nd_opts *ndopts)
ndopts->nd_opts_pi_end =
(struct nd_opt_prefix_info *)nd_opt;
break;
+ case ND_OPT_DNSSL:
+ case ND_OPT_RDNSS:
+ /* Don't warn */
+ break;
default:
/*
* Unknown options must be silently ignored,