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

[altq:1841] Re: Doubts about QOP API



Tiago Fioreze wrote:
> 	Why don't I get the message below? 
> ed0: add a filter (null) to class high_class
> Filter Dest Addr: 0.0.0.0 (mask 0xffffffff) Port: 0
>         Src Addr: 0.0.0.0 (mask 0xffffffff) Port: 0
>         Protocol: 1 TOS 0 (mask 0)

you need to set a flag.  See altqd/altqd.c and look for the following
line:
	m_debug |= DEBUG_ALTQ;

> 	This message is showed when I run the altq daemon (altqd -v). The problem 
> isn't the fact of I don't get the message, but for the fact of the filter 
> hasn't been added to class high_class. What am I doing wrong?

Use a debugger to see what's going on.

> 	I have other doubt. Is there a way to use 'altqstat' when altqd is not 
> running?

use "altqstat -n -i <interface>"

-Kenjiro