summaryrefslogtreecommitdiffstats
path: root/sys/netinet/if_ether.c
diff options
context:
space:
mode:
authorfenner <fenner@FreeBSD.org>1996-02-20 17:54:17 +0000
committerfenner <fenner@FreeBSD.org>1996-02-20 17:54:17 +0000
commitb2e0f850a93d39f82d84995855ce2a0dd06da3e7 (patch)
tree3eef953d3d27a8587ca09ba148fe25e14397ebf3 /sys/netinet/if_ether.c
parent4cf4be8b5a2cc28bfc387dd17edb8b6788cc5e58 (diff)
downloadFreeBSD-src-b2e0f850a93d39f82d84995855ce2a0dd06da3e7.zip
FreeBSD-src-b2e0f850a93d39f82d84995855ce2a0dd06da3e7.tar.gz
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.
Diffstat (limited to 'sys/netinet/if_ether.c')
-rw-r--r--sys/netinet/if_ether.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/netinet/if_ether.c b/sys/netinet/if_ether.c
index 115c2a3..257a94b 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);
}
OpenPOWER on IntegriCloud