[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: pfctl queue syntax bug



* resfilter <rfilter_(_at_)_telus_(_dot_)_net> [2004-04-12 01:40]:
> seems naming a child queue 'return' causes a syntax error

of course you cannot use keywords as queue names, macro names and such.

> obviously 'return' is a reserved word or something.  im sure nobody gives a
> shit that they cant use 'return' in their queues, i dont.  but there is no
> mention of there being any reserved words for queue names, and i'd consider
> the way the error is reported to the user to be improper.  took me quite a
> while to realize what the hell the problem was.

well it is the way a parser works, scanning for keywords and putting 
them into context. i think the manpage already sais so, at leats for 
macros, but I'll double-check that,

-- 
http://2suck.net/hhwl.html - http://www.bsws.de/
Unix is very simple, but it takes a genius to understand the simplicity.
(Dennis Ritchie)



Visit your host, monkey.org