Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/netinet6 inet6: Allow addresses to be marked AUTOCONF fr...
details: https://anonhg.NetBSD.org/src/rev/c430721380c2
branches: trunk
changeset: 934588:c430721380c2
user: roy <roy%NetBSD.org@localhost>
date: Sun Jun 14 14:26:17 2020 +0000
description:
inet6: Allow addresses to be marked AUTOCONF from userland
diffstat:
sys/netinet6/in6.c | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
diffs (28 lines):
diff -r 0284578803fd -r c430721380c2 sys/netinet6/in6.c
--- a/sys/netinet6/in6.c Sun Jun 14 14:16:49 2020 +0000
+++ b/sys/netinet6/in6.c Sun Jun 14 14:26:17 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: in6.c,v 1.279 2020/06/13 06:05:08 mlelstv Exp $ */
+/* $NetBSD: in6.c,v 1.280 2020/06/14 14:26:17 roy Exp $ */
/* $KAME: in6.c,v 1.198 2001/07/18 09:12:38 itojun Exp $ */
/*
@@ -62,7 +62,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: in6.c,v 1.279 2020/06/13 06:05:08 mlelstv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: in6.c,v 1.280 2020/06/14 14:26:17 roy Exp $");
#ifdef _KERNEL_OPT
#include "opt_inet.h"
@@ -682,8 +682,7 @@
if ((ifra->ifra_flags & IN6_IFF_DUPLICATED) != 0 ||
(ifra->ifra_flags & IN6_IFF_DETACHED) != 0 ||
(ifra->ifra_flags & IN6_IFF_TENTATIVE) != 0 ||
- (ifra->ifra_flags & IN6_IFF_NODAD) != 0 ||
- (ifra->ifra_flags & IN6_IFF_AUTOCONF) != 0) {
+ (ifra->ifra_flags & IN6_IFF_NODAD) != 0) {
error = EINVAL;
break;
}
Home |
Main Index |
Thread Index |
Old Index