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:
parent
103bc5f11d
commit
25a24934ab
|
|
@ -93,7 +93,7 @@ static int parse_ife(struct action_util *a, int *argc_p, char ***argv_p,
|
||||||
} else if (matches(*argv, "prio") == 0) {
|
} else if (matches(*argv, "prio") == 0) {
|
||||||
ife_prio = IFE_META_PRIO;
|
ife_prio = IFE_META_PRIO;
|
||||||
} else if (matches(*argv, "tcindex") == 0) {
|
} else if (matches(*argv, "tcindex") == 0) {
|
||||||
ife_prio = IFE_META_TCINDEX;
|
ife_tcindex = IFE_META_TCINDEX;
|
||||||
} else {
|
} else {
|
||||||
fprintf(stderr, "Illegal meta define <%s>\n",
|
fprintf(stderr, "Illegal meta define <%s>\n",
|
||||||
*argv);
|
*argv);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue