From: Jamal Hadi Salim Date: Sun, 22 May 2016 17:11:16 +0000 (-0400) Subject: tc fix ife late binding X-Git-Tag: v4.7.0~112 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a78a2dba27b5c7b752dcb493043ec1e91f46ad63;p=thirdparty%2Fiproute2.git tc fix ife late binding following late binding didn't work sudo tc actions add action ife encode \ type 0xDEAD allow mark dst 02:15:15:15:15:15 index 1 Signed-off-by: Jamal Hadi Salim --- diff --git a/tc/m_ife.c b/tc/m_ife.c index ed01ff724..c8ae04d30 100644 --- a/tc/m_ife.c +++ b/tc/m_ife.c @@ -182,6 +182,7 @@ static int parse_ife(struct action_util *a, int *argc_p, char ***argv_p, fprintf(stderr, "ife: Illegal \"index\"\n"); return -1; } + ok++; argc--; argv++; }