Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Mar 2017 04:57:52 +0000 (UTC)
From:      "Andrey V. Elsukov" <ae@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r315050 - head/sys/netinet
Message-ID:  <201703110457.v2B4vqmq045257@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);
 		}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201703110457.v2B4vqmq045257>