On Thu, Jul 17, 2003 at 05:06:11PM -0300, Alejandro G. Belluscio wrote:
>
> altq on $ext_if priq bandwidth 1Mb queue { q_pri, q_int, q_def, q_low }
> queue q_pri priority 5
> >queue q_int priotity 4
> queue q_def priority 3 priq(default)
> queue q_low priority 2
>
> If I change the "q_int" to another name, it works
yeah, i get the same error if i typo 'priority' ( i've typoed it many times )
if the typo was an error in posting, and not reflective of your true
pf.conf; fwiw, on the -current machine, i get:
[gateway]:p1:/home/jrrs $ sudo pfctl -nvf joe
altq on fxp0 priq bandwidth 1Mb tbrsize 1500 queue { q_pri q_int q_def q_low }
queue q_pri priority 5
queue q_int priority 4
queue q_def priority 3 priq( default )
queue q_low priority 2
parses OK n/p. i do recall running into what must have been a reserved
keyword in a queue name parameter before.. yeah, i named a queue 'block'
and it didn't like that.. yeah, if i change the 'q_low" to 'block', i
get:
[gateway]:p1:/home/jrrs $ sudo pfctl -nvf joe
joe:1: syntax error
joe:2: queue q_pri has no parent
joe:3: queue q_int has no parent
joe:4: queue q_def has no parent
pfctl: Syntax error in config file: pf rules not loaded
if that helps to debug future similar errors.
jared
--
[ openbsd 3.3 current/GENERIC ( jul 16 ) // i386 ]