From 7d1ba41375b52716ccc4f6876a1237e9e0186aa0 Mon Sep 17 00:00:00 2001 From: Bill Fenner Date: Tue, 20 Feb 1996 17:54:17 +0000 Subject: [PATCH] Make the "arpresolve: can't allocate llinfo" error message more useful by printing out the IP address it was trying to resolve, since we're seeing so many complaints about this error. --- sys/netinet/if_ether.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sys/netinet/if_ether.c b/sys/netinet/if_ether.c index 115c2a3a5fe2..257a94bb4af9 100644 --- a/sys/netinet/if_ether.c +++ b/sys/netinet/if_ether.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)if_ether.c 8.1 (Berkeley) 6/10/93 - * $Id: if_ether.c,v 1.26 1996/01/24 21:09:58 phk Exp $ + * $Id: if_ether.c,v 1.27 1996/02/05 18:04:30 wollman Exp $ */ /* @@ -347,7 +347,8 @@ arpresolve(ac, rt, m, dst, desten, rt0) rt = la->la_rt; } if (la == 0 || rt == 0) { - log(LOG_DEBUG, "arpresolve: can't allocate llinfo\n"); + log(LOG_DEBUG, "arpresolve: can't allocate llinfo for %s\n", + inet_ntoa(SIN(dst)->sin_addr)); m_freem(m); return (0); }