From 4043f3371cf06d5d60eb9eb6fa33adb6069f750a Mon Sep 17 00:00:00 2001 From: sthen Date: Sun, 7 Nov 2021 19:38:25 +0000 Subject: [PATCH] net.inet6.icmp6.nd6_debug doesn't need to warn about RDNSS/DNSSL options ok phessler@ --- sys/netinet6/nd6.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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, -- 2.20.1