Author: ae
Date: Sat Mar 11 04:57:52 2017
New Revision: 315050
URL: https://svnweb.freebsd.org/changeset/base/315050

Log:
  Fix the L2 address printed in the "arp: %s moved from %*D" message.
  
  In the r292978 struct llentry was changed and the ll_addr field become
  the pointer.
  
  PR:           217667
  MFC after:    1 week

Modified:
  head/sys/netinet/if_ether.c

Modified: head/sys/netinet/if_ether.c
==============================================================================
--- head/sys/netinet/if_ether.c Sat Mar 11 04:36:15 2017        (r315049)
+++ head/sys/netinet/if_ether.c Sat Mar 11 04:57:52 2017        (r315050)
@@ -1203,7 +1203,7 @@ arp_check_update_lle(struct arphdr *ah, 
                            "to %*D on %s\n",
                            inet_ntoa_r(isaddr, addrbuf),
                            ifp->if_addrlen,
-                           (u_char *)&la->ll_addr, ":",
+                           (u_char *)la->ll_addr, ":",
                            ifp->if_addrlen, (u_char *)ar_sha(ah), ":",
                            ifp->if_xname);
                }
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to