From 2272627571681ba01585fc3f25a3ebfda1b7da30 Mon Sep 17 00:00:00 2001 From: Donatas Abraitis Date: Wed, 23 Nov 2022 17:35:33 +0200 Subject: [PATCH] zebra: Replace TC definitions for dplane They were replaced, but forgot for `--enable-scripting`. Signed-off-by: Donatas Abraitis --- zebra/zebra_script.c | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/zebra/zebra_script.c b/zebra/zebra_script.c index 2e2f4159cd..5c67ad4f16 100644 --- a/zebra/zebra_script.c +++ b/zebra/zebra_script.c @@ -417,9 +417,14 @@ void lua_pushzebra_dplane_ctx(lua_State *L, const struct zebra_dplane_ctx *ctx) case DPLANE_OP_INTF_INSTALL: case DPLANE_OP_INTF_UPDATE: case DPLANE_OP_INTF_DELETE: - case DPLANE_OP_TC_INSTALL: - case DPLANE_OP_TC_UPDATE: - case DPLANE_OP_TC_DELETE: + case DPLANE_OP_TC_QDISC_INSTALL: + case DPLANE_OP_TC_QDISC_UNINSTALL: + case DPLANE_OP_TC_CLASS_ADD: + case DPLANE_OP_TC_CLASS_DELETE: + case DPLANE_OP_TC_CLASS_UPDATE: + case DPLANE_OP_TC_FILTER_ADD: + case DPLANE_OP_TC_FILTER_DELETE: + case DPLANE_OP_TC_FILTER_UPDATE: /* Not currently handled */ case DPLANE_OP_INTF_NETCONFIG: /*NYI*/ case DPLANE_OP_NONE: