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 <aring@mojatatu.com>
This commit is contained in:
Alexander Aring 2017-10-30 12:37:49 -04:00 committed by Stephen Hemminger
parent 103bc5f11d
commit 25a24934ab
1 changed files with 1 additions and 1 deletions

View File

@ -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);