[Bug 237843] arp: Skips all name lookups if first fail with TRY_AGAIN
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sun May 12 09:22:24 UTC 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=237843
--- Comment #3 from pete at 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 = 0;
if (hp)
host = hp->h_name;
- else
+ else {
host = "?";
+ if (h_errno == TRY_AGAIN)
+ nflag = 1;
+ }
xo_emit("{:hostname/%s} ({:ip-address/%s}) at ", host,
inet_ntoa(addr->sin_addr));
if (sdl->sdl_alen) {
--
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
More information about the freebsd-net
mailing list