From: Alexander Aring Date: Mon, 30 Oct 2017 16:37:49 +0000 (-0400) Subject: tc: m_ife: fix match tcindex parsing X-Git-Tag: v4.14.0~13 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=25a24934ab77436fae1a0ba076aac16350191ead;p=thirdparty%2Fiproute2.git tc: m_ife: fix match tcindex parsing This patch changes ife_prio to ife_tcindex which is right variable to assign in the argument in this case. Signed-off-by: Alexander Aring --- diff --git a/tc/m_ife.c b/tc/m_ife.c index 5633ab90e..8d0fd31fb 100644 --- a/tc/m_ife.c +++ b/tc/m_ife.c @@ -93,7 +93,7 @@ static int parse_ife(struct action_util *a, int *argc_p, char ***argv_p, } else if (matches(*argv, "prio") == 0) { ife_prio = IFE_META_PRIO; } else if (matches(*argv, "tcindex") == 0) { - ife_prio = IFE_META_TCINDEX; + ife_tcindex = IFE_META_TCINDEX; } else { fprintf(stderr, "Illegal meta define <%s>\n", *argv);