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

[altq 950] Re: question regarding filter deletion




Kei Kato wrote:
> It seems to me that deleting one specific filter is impossible in ALTQ
> ver3.0,
> although parser.c accepts commands such as " delete pvc0 classA filter1"
> , resulting in deleting classA and all filters attached to it.
> 
> any comment on this?

The "delete" command deletes a class, and there's no command for
deleting only a filter.
Although there is an API for that (qcmd_delete_filter()), it is not
supported by the command parser for a historical reason. (a filter
used to have no name so that it couldn't be specified by a command ).

Do you have a compelling reason to delete only a filter?

-Kenjiro