[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <469DEF7C.8040709@trash.net>
Date: Wed, 18 Jul 2007 12:46:20 +0200
From: Patrick McHardy <kaber@...sh.net>
To: Stephen Hemminger <shemminger@...ux-foundation.org>
CC: Abhijit Menon-Sen <ams@...oid.org>, netdev@...r.kernel.org
Subject: Re: tc filter add ... fw ... action drop
Patrick McHardy wrote:
> Abhijit Menon-Sen wrote:
>
>>That command is from a script that used to work with iproute2-ss020116
>>(2002!), which had the following in tc/m_police.c:
>>
>>210 } else if (strcmp(*argv, "action") == 0) {
>>211 NEXT_ARG();
>>212 if (get_police_result(&p.action, &presult, *argv)) {
>>
>>I don't know when that bit was dropped, but it used to be there. :-)
>
>
>
> Indeed, I missed that. I'll fix up the patch ..
OK this patch fixes parsing of "action ...". I've removed
the erroring on unknown arguments again since in that case
the caller should continue parsing.
View attachment "x" of type "text/plain" (586 bytes)
Powered by blists - more mailing lists