]> git.proxmox.com Git - mirror_iproute2.git/commitdiff
tc fix ife late binding
authorJamal Hadi Salim <jhs@mojatatu.com>
Sun, 22 May 2016 17:11:16 +0000 (13:11 -0400)
committerStephen Hemminger <shemming@brocade.com>
Mon, 23 May 2016 23:15:31 +0000 (16:15 -0700)
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>
tc/m_ife.c

index ed01ff724999b4b4169bb9da241653892fe6b670..c8ae04d30e16c78ea965b447865f52581a161920 100644 (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++;
                }