Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/net don't be too verbose on nd6_storelladdr failure



details:   https://anonhg.NetBSD.org/src/rev/056a3e6fdef0
branches:  trunk
changeset: 546523:056a3e6fdef0
user:      itojun <itojun%NetBSD.org@localhost>
date:      Thu May 01 07:41:59 2003 +0000

description:
don't be too verbose on nd6_storelladdr failure

diffstat:

 sys/net/if_ieee1394subr.c |  7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diffs (28 lines):

diff -r 1fe25ac7244a -r 056a3e6fdef0 sys/net/if_ieee1394subr.c
--- a/sys/net/if_ieee1394subr.c Thu May 01 07:36:40 2003 +0000
+++ b/sys/net/if_ieee1394subr.c Thu May 01 07:41:59 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_ieee1394subr.c,v 1.19 2002/09/26 13:06:56 onoe Exp $        */
+/*     $NetBSD: if_ieee1394subr.c,v 1.20 2003/05/01 07:41:59 itojun Exp $      */
 
 /*
  * Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -37,7 +37,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_ieee1394subr.c,v 1.19 2002/09/26 13:06:56 onoe Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_ieee1394subr.c,v 1.20 2003/05/01 07:41:59 itojun Exp $");
 
 #include "opt_inet.h"
 #include "bpfilter.h"
@@ -165,8 +165,7 @@
                if (m0->m_flags & M_MCAST)
                        memcpy(&hwdst, ifp->if_broadcastaddr, sizeof(hwdst));
                else if (!nd6_storelladdr(ifp, rt, m0, dst, (u_char *)&hwdst)) {
-                       /* this must be impossible, so we bark */
-                       printf("ieee1394_output: nd6_storelladdr failed\n");
+                       /* something bad happened */
                        return 0;
                }
                etype = htons(ETHERTYPE_IPV6);



Home | Main Index | Thread Index | Old Index