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);
                }
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to