From owner-freebsd-bugs@FreeBSD.ORG Thu Jun 7 13:10:17 2012 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5C415106566C for ; Thu, 7 Jun 2012 13:10:17 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 2DAD18FC14 for ; Thu, 7 Jun 2012 13:10:17 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q57DAHN9016553 for ; Thu, 7 Jun 2012 13:10:17 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q57DAGBI016552; Thu, 7 Jun 2012 13:10:16 GMT (envelope-from gnats) Date: Thu, 7 Jun 2012 13:10:16 GMT Message-Id: <201206071310.q57DAGBI016552@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Thomas Johnson Cc: Subject: Re: bin/163487: syslog.conf filtering syntax broken in 9.0-RC3 (was working in 8.2) X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Thomas Johnson List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Jun 2012 13:10:17 -0000 The following reply was made to PR bin/163487; it has been noted by GNATS. From: Thomas Johnson To: Mark Johnston Cc: bug-followup@freebsd.org, root@claimlynx.com Subject: Re: bin/163487: syslog.conf filtering syntax broken in 9.0-RC3 (was working in 8.2) Date: Thu, 7 Jun 2012 08:04:07 -0500 --14dae934064bd6119f04c1e18425 Content-Type: text/plain; charset=ISO-8859-1 Mark, I will get this tested, may not be until next week though. Thanks! On Wed, Jun 6, 2012 at 11:33 PM, Mark Johnston wrote: > I've attached a small patch which fixes the issue described above. > Basically, rather than calling trimdomain(3) on the entire host filter > string (which won't do anything if the filter contains multiple hosts), > this change has syslogd call trimdomain(3) on each host and then copy it > to f->f_host. > > Would you be able to test this? > > Thanks, > -Mark > -- Thomas Johnson ClaimLynx, Inc. 952-593-5969 x2302 --14dae934064bd6119f04c1e18425 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Mark,

I will get this tested, may not be until next week though.
=
Thanks!

On Wed, Jun 6, 2012 at 11:33 = PM, Mark Johnston <markjdb@gmail.com> wrote:
I've attached a small patch which fixes = the issue described above.
Basically, rather than calling trimdomain(3) on the entire host filter
string (which won't do anything if the filter contains multiple hosts),=
this change has syslogd call trimdomain(3) on each host and then copy it to f->f_host.

Would you be able to test this?

Thanks,
-Mark



--
Thomas Johnson
Claim= Lynx, Inc.
952-593-5969 x2302
--14dae934064bd6119f04c1e18425--