diff options
| author | Donatas Abraitis <donatas@opensourcerouting.org> | 2022-11-23 17:35:33 +0200 |
|---|---|---|
| committer | Mergify <37929162+mergify[bot]@users.noreply.github.com> | 2022-11-23 20:54:21 +0000 |
| commit | 4ad1dca166d4640fe55ee6a685c7845d5bb941c5 (patch) | |
| tree | e3f6b2aa6b27736abc01ea51d17d7d3a71aab2a2 | |
| parent | 56a3ac3b5d96e507340cee29467ebf28e868d081 (diff) | |
zebra: Replace TC definitions for dplane
They were replaced, but forgot for `--enable-scripting`.
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
(cherry picked from commit 2272627571681ba01585fc3f25a3ebfda1b7da30)
| -rw-r--r-- | zebra/zebra_script.c | 11 |
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: |
