Source-Changes-HG archive

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

[src/trunk]: src/sys/netinet Make diagnostic actually useful - needed to debu...



details:   https://anonhg.NetBSD.org/src/rev/d88e1fba2baa
branches:  trunk
changeset: 502888:d88e1fba2baa
user:      is <is%NetBSD.org@localhost>
date:      Fri Jan 26 11:40:32 2001 +0000

description:
Make diagnostic actually useful - needed to debug other ARP PRs.
Suggested by Geoff C. Wing in PR 10815.

diffstat:

 sys/netinet/if_arp.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (20 lines):

diff -r 68802c9717a7 -r d88e1fba2baa sys/netinet/if_arp.c
--- a/sys/netinet/if_arp.c      Fri Jan 26 11:04:20 2001 +0000
+++ b/sys/netinet/if_arp.c      Fri Jan 26 11:40:32 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_arp.c,v 1.71 2001/01/17 04:05:44 itojun Exp $       */
+/*     $NetBSD: if_arp.c,v 1.72 2001/01/26 11:40:32 is Exp $   */
 
 /*-
  * Copyright (c) 1998, 2000 The NetBSD Foundation, Inc.
@@ -598,7 +598,9 @@
        }
        if (la == 0 || rt == 0) {
                arpstat.as_allocfail++;
-               log(LOG_DEBUG, "arpresolve: can't allocate llinfo\n");
+               log(LOG_DEBUG,
+                   "arpresolve: can't allocate llinfo on %s for %s\n",
+                   ifp->if_xname, in_fmtaddr(SIN(dst)->sin_addr));
                m_freem(m);
                return (0);
        }



Home | Main Index | Thread Index | Old Index