Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/netinet6 print the name of the interface that was disabled.
details: https://anonhg.NetBSD.org/src/rev/df06701d7f5a
branches: trunk
changeset: 999026:df06701d7f5a
user: christos <christos%NetBSD.org@localhost>
date: Mon May 13 02:03:07 2019 +0000
description:
print the name of the interface that was disabled.
diffstat:
sys/netinet6/nd6.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (30 lines):
diff -r 3c89e67b789b -r df06701d7f5a sys/netinet6/nd6.c
--- a/sys/netinet6/nd6.c Sun May 12 22:42:33 2019 +0000
+++ b/sys/netinet6/nd6.c Mon May 13 02:03:07 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: nd6.c,v 1.253 2019/04/29 11:57:22 roy Exp $ */
+/* $NetBSD: nd6.c,v 1.254 2019/05/13 02:03:07 christos Exp $ */
/* $KAME: nd6.c,v 1.279 2002/06/08 11:16:51 itojun Exp $ */
/*
@@ -31,7 +31,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: nd6.c,v 1.253 2019/04/29 11:57:22 roy Exp $");
+__KERNEL_RCSID(0, "$NetBSD: nd6.c,v 1.254 2019/05/13 02:03:07 christos Exp $");
#ifdef _KERNEL_OPT
#include "opt_net_mpsafe.h"
@@ -1794,9 +1794,9 @@
if (duplicated_linklocal) {
ND.flags |= ND6_IFF_IFDISABLED;
- log(LOG_ERR, "Cannot enable an interface"
+ log(LOG_ERR, "%s: Cannot enable an interface"
" with a link-local address marked"
- " duplicate.\n");
+ " duplicate.\n", if_name(ifp));
} else {
ND_IFINFO(ifp)->flags &= ~ND6_IFF_IFDISABLED;
if (ifp->if_flags & IFF_UP)
Home |
Main Index |
Thread Index |
Old Index