Date: Sun, 12 May 2019 09:22:21 +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-W6EvA4d9kS@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 #3 from pete@twisted.org.uk --- Wasn't supposed to be a patch, as its not a real fix - its removing intended functionality to let me debug what was going on, which is not a great way to proceed, but for reference the diff looks like this: --- arp.c 2019-05-12 10:20:57.920473000 +0100 +++ /usr/src/usr.sbin/arp/arp.c 2018-11-11 17:59:35.794752000 +0000 @@ -605,8 +605,11 @@ 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 on the CC list for the bug. You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-237843-7501-W6EvA4d9kS>