Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Mar 2017 10:48:37 +0000 (UTC)
From:      "Andrey V. Elsukov" <ae@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r315479 - stable/11/sys/netinet
Message-ID:  <201703181048.v2IAmbEM078512@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ae
Date: Sat Mar 18 10:48:37 2017
New Revision: 315479
URL: https://svnweb.freebsd.org/changeset/base/315479

Log:
  MFC r315050:
    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

Modified:
  stable/11/sys/netinet/if_ether.c
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/sys/netinet/if_ether.c
==============================================================================
--- stable/11/sys/netinet/if_ether.c	Sat Mar 18 10:34:29 2017	(r315478)
+++ stable/11/sys/netinet/if_ether.c	Sat Mar 18 10:48:37 2017	(r315479)
@@ -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?201703181048.v2IAmbEM078512>