From: Paul Blakey <pa...@mellanox.com> We only support extended pedit keys for now, so it's the type we expect. Skip the legacy ones instead.
Signed-off-by: Paul Blakey <pa...@mellanox.com> Reviewed-by: Roi Dayan <r...@mellanox.com> --- lib/tc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tc.c b/lib/tc.c index 627de8a..8888401 100644 --- a/lib/tc.c +++ b/lib/tc.c @@ -484,7 +484,7 @@ nl_parse_act_pedit(struct nlattr *options, struct tc_flower *flower) break; } - if (nl_attr_type(nla) == TCA_PEDIT_KEY_EX) { + if (nl_attr_type(nla) != TCA_PEDIT_KEY_EX) { VLOG_ERR_RL(&error_rl, "unable to parse legacy pedit type: %d", nl_attr_type(nla)); return EOPNOTSUPP; -- 2.7.5 _______________________________________________ dev mailing list d...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-dev