[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:23:58 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=237843

--- Comment #4 from pete at 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 = 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 the assignee for the bug.
You are on the CC list for the bug.


More information about the freebsd-net mailing list