Re: pfctl: fix printing of 'foo/*' anchors

2012-04-27 Thread Lawrence Teo
On Fri, Apr 27, 2012 at 12:45:01PM +0100, Stuart Henderson wrote: > On 2012/04/27 00:51, Lawrence Teo wrote: > > The diff below fixes pfctl so that it will show the 'authpf/*' anchor > > as intended: > > This is extremely useful for relayd/ftp-proxy too. I agree. I bumped into this bug while wri

Re: pfctl: fix printing of 'foo/*' anchors

2012-04-27 Thread Stuart Henderson
On 2012/04/27 00:51, Lawrence Teo wrote: > The diff below fixes pfctl so that it will show the 'authpf/*' anchor > as intended: This is extremely useful for relayd/ftp-proxy too. > Note that since this diff changes the behavior of > "pfctl -a 'foo/*' -sr", it will also change the pfload* regressi

pfctl: fix printing of 'foo/*' anchors

2012-04-26 Thread Lawrence Teo
The pfctl(8) man page says: By default, recursive inline printing of anchors applies only to unnamed anchors specified inline in the ruleset. If the anchor name is terminated with a `*' character, the -s flag will recursively print all anchors in a brace delimited block. For