svn commit: r315050 - head/sys/netinet

Andrey V. Elsukov ae at FreeBSD.org
Sat Mar 11 04:57:53 UTC 2017


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);
 		}


More information about the svn-src-head mailing list