summaryrefslogtreecommitdiff
path: root/zebra/zebra_script.c
diff options
context:
space:
mode:
authorDonatas Abraitis <donatas@opensourcerouting.org>2022-11-23 17:35:33 +0200
committerDonatas Abraitis <donatas@opensourcerouting.org>2022-11-23 17:35:33 +0200
commit2272627571681ba01585fc3f25a3ebfda1b7da30 (patch)
treead65860a6d4895206adc7cf36ee02d92ac2b9d45 /zebra/zebra_script.c
parent89f74214e7d109f7ff48c9666dab65b741636a09 (diff)
zebra: Replace TC definitions for dplane
They were replaced, but forgot for `--enable-scripting`. Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
Diffstat (limited to 'zebra/zebra_script.c')
-rw-r--r--zebra/zebra_script.c11
1 files 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: