The following reply was made to PR kern/154831; it has been noted by GNATS.

From: dfil...@freebsd.org (dfilter service)
To: bug-follo...@freebsd.org
Cc:  
Subject: Re: kern/154831: commit references a PR
Date: Thu, 14 Jul 2011 04:21:36 +0000 (UTC)

 Author: ae
 Date: Thu Jul 14 04:21:27 2011
 New Revision: 223995
 URL: http://svn.freebsd.org/changeset/base/223995
 
 Log:
   MFC r223840:
     Add again the checking for log_arp_permanent_modify that was by accident
     removed in the r186119.
   
     PR:                kern/154831
 
 Modified:
   stable/8/sys/netinet/if_ether.c
 Directory Properties:
   stable/8/sys/   (props changed)
   stable/8/sys/amd64/include/xen/   (props changed)
   stable/8/sys/cddl/contrib/opensolaris/   (props changed)
   stable/8/sys/contrib/dev/acpica/   (props changed)
   stable/8/sys/contrib/pf/   (props changed)
 
 Modified: stable/8/sys/netinet/if_ether.c
 ==============================================================================
 --- stable/8/sys/netinet/if_ether.c    Thu Jul 14 03:16:43 2011        
(r223994)
 +++ stable/8/sys/netinet/if_ether.c    Thu Jul 14 04:21:27 2011        
(r223995)
 @@ -680,11 +680,13 @@ match:
                    bcmp(ar_sha(ah), &la->ll_addr, ifp->if_addrlen)) {
                        if (la->la_flags & LLE_STATIC) {
                                LLE_WUNLOCK(la);
 -                              log(LOG_ERR,
 -                                  "arp: %*D attempts to modify permanent "
 -                                  "entry for %s on %s\n",
 -                                  ifp->if_addrlen, (u_char *)ar_sha(ah), ":",
 -                                  inet_ntoa(isaddr), ifp->if_xname);
 +                              if (log_arp_permanent_modify)
 +                                      log(LOG_ERR,
 +                                          "arp: %*D attempts to modify "
 +                                          "permanent entry for %s on %s\n",
 +                                          ifp->if_addrlen,
 +                                          (u_char *)ar_sha(ah), ":",
 +                                          inet_ntoa(isaddr), ifp->if_xname);
                                goto reply;
                        }
                        if (log_arp_movements) {
 _______________________________________________
 svn-src-...@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-src-all
 To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
 
_______________________________________________
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"

Reply via email to