ports/146571: [patch] mail/spamd -- let obspamlogd manage its own pflog i/f

Matthew Seaman m.seaman at infracaninophile.co.uk
Fri May 14 12:10:13 UTC 2010


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

From: Matthew Seaman <m.seaman at infracaninophile.co.uk>
To: olli hauer <ohauer at gmx.de>
Cc: bug-followup at FreeBSD.org
Subject: Re: ports/146571: [patch] mail/spamd -- let obspamlogd manage its
 own pflog i/f
Date: Fri, 14 May 2010 13:04:47 +0100

 -----BEGIN PGP SIGNED MESSAGE-----
 Hash: SHA1
 
 On 14/05/2010 12:30:40, olli hauer wrote:
 > Hi Matthew,
 > 
 > please test the modified patch.
 > 
 > In your original patch the 'if [ -n' does not work as expected
 > if 'obspamlogd_pflog_if' is not defined, even obspamlogd
 > does not start on my test machine.
 > 
 > 
 > # ifconfig | grep pflog
 > pflog0: flags=0<> metric 0 mtu 33204
 > 
 > # ./obspamlogd rcvar
 > # obspamlogd
 > ifconfig: interface create does not exist
 > ./obspamlogd: WARNING: could not bring up
 > 
 > # ifconfig | grep pflog
 > pflog0: flags=0<> metric 0 mtu 33204
 > pflog1: flags=141<UP,RUNNING,PROMISC> metric 0 mtu 33204
 > 
 > 
 > 
 > It works if I change 'if [ -n' to 'if [ ! -z'
 
 Looks good to me.
 
 	Cheers,
 
 	Matthew
 
 - -- 
 Dr Matthew J Seaman MA, D.Phil.                   7 Priory Courtyard
                                                   Flat 3
 PGP: http://www.infracaninophile.co.uk/pgpkey     Ramsgate
                                                   Kent, CT11 9PW
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG/MacGPG2 v2.0.14 (Darwin)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
 
 iEYEARECAAYFAkvtPF8ACgkQ8Mjk52CukIyCYQCdFdiZ2x2Tfl9Jxk8NVNg3VmnQ
 uP0AoJIXtfD12KLxrLnrc9pdIwQasJER
 =YuYr
 -----END PGP SIGNATURE-----



More information about the freebsd-ports-bugs mailing list