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 <jhs@mojatatu.com>
This commit is contained in:
Jamal Hadi Salim 2016-05-22 13:11:16 -04:00 committed by Stephen Hemminger
parent 1a0320727c
commit a78a2dba27

View File

@ -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++;
}