From 719498102c3367e9ac84da335e3da4bc261f93cd Mon Sep 17 00:00:00 2001 From: "Andrey V. Elsukov" Date: Sat, 11 Mar 2017 04:57:52 +0000 Subject: [PATCH] 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 --- sys/netinet/if_ether.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/netinet/if_ether.c b/sys/netinet/if_ether.c index 24e43355a25f..30d1da0f5dab 100644 --- a/sys/netinet/if_ether.c +++ b/sys/netinet/if_ether.c @@ -1203,7 +1203,7 @@ arp_check_update_lle(struct arphdr *ah, struct in_addr isaddr, struct ifnet *ifp "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); }