From owner-svn-src-head@FreeBSD.ORG Wed Oct 21 04:28:52 2009 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 975CE106566B; Wed, 21 Oct 2009 04:28:52 +0000 (UTC) (envelope-from ru@FreeBSD.org) Received: from mail.vega.ru (mail.vega.ru [90.156.167.5]) by mx1.freebsd.org (Postfix) with ESMTP id 5063A8FC0A; Wed, 21 Oct 2009 04:28:52 +0000 (UTC) Received: from [10.100.124.99] (port=62016 helo=edoofus.dev.vega.ru) by mail.vega.ru with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69 (FreeBSD)) (envelope-from ) id 1N0S81-0002s3-KF; Wed, 21 Oct 2009 07:44:49 +0400 Date: Wed, 21 Oct 2009 07:44:45 +0400 From: Ruslan Ermilov To: Qing Li Message-ID: <20091021034444.GA29506@edoofus.dev.vega.ru> References: <200910201755.n9KHtgT9073966@svn.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200910201755.n9KHtgT9073966@svn.freebsd.org> Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r198301 - head/sys/netinet X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Oct 2009 04:28:52 -0000 On Tue, Oct 20, 2009 at 05:55:42PM +0000, Qing Li wrote: > Modified: head/sys/netinet/if_ether.c [...] > +#ifdef DIAGNOSTICS > + else { > + struct sockaddr *l3addr = L3_ADDR(lle); > + log(LOG_INFO, "arptimer issue: %p, IPv4 address: \"%s\"\n", lle, > + inet_ntoa(((const struct sockaddr_in *)l3addr)->sin_addr)); > } > +#endif The actual option's name is DIAGNOSTIC, not DIAGNOSTICS. netinet/in.c:#ifdef DIAGNOSTICS netinet/in.c:#ifdef DIAGNOSTICS netinet/in.c:#ifdef DIAGNOSTICS netinet/if_ether.c:#ifdef DIAGNOSTICS netinet6/in6.c:#ifdef DIAGNOSTICS fs/smbfs/smbfs_vfsops.c:#ifdef DIAGNOSTICS Cheers, -- Ruslan Ermilov ru@FreeBSD.org FreeBSD committer