Date: Sun, 12 May 2019 09:23:56 +0000 From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 237843] arp: Skips all name lookups if first fail with TRY_AGAIN Message-ID: <bug-237843-7501-yp9LL3EfCN@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-237843-7501@https.bugs.freebsd.org/bugzilla/> References: <bug-237843-7501@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D237843 --- Comment #4 from pete@twisted.org.uk --- Gah, thats backwards of course! here it is with the arguments the right way round :) --- /usr/src/usr.sbin/arp/arp.c 2018-11-11 17:59:35.794752000 +0000 +++ arp.c 2019-05-12 10:20:57.920473000 +0100 @@ -605,11 +605,8 @@ hp =3D 0; if (hp) host =3D hp->h_name; - else { + else host =3D "?"; - if (h_errno =3D=3D TRY_AGAIN) - nflag =3D 1; - } xo_emit("{:hostname/%s} ({:ip-address/%s}) at ", host, inet_ntoa(addr->sin_addr)); if (sdl->sdl_alen) { --=20 You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-237843-7501-yp9LL3EfCN>