diff options
| author | Stephen Worley <sworley@cumulusnetworks.com> | 2019-09-24 18:38:28 -0400 |
|---|---|---|
| committer | Stephen Worley <sworley@cumulusnetworks.com> | 2019-10-25 11:13:43 -0400 |
| commit | 40a2a6cdd3f28848bedd98bfd854c73f788ab086 (patch) | |
| tree | cf316f512772875fecddb62c88e8add57a7263e9 | |
| parent | da3ef85b22060081cd137a74db42e79d5402fb0e (diff) | |
zebra: Add DPLANE_NEIGH and DPLANE_VTEP to nhg cases
Add DPLANE_OP_NEIGH and DPLANE_OP_VTEP to nhg dplane
handler's switch statements.
Signed-off-by: Stephen Worley <sworley@cumulusnetworks.com>
| -rw-r--r-- | zebra/rt_netlink.c | 5 | ||||
| -rw-r--r-- | zebra/zebra_nhg.c | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/zebra/rt_netlink.c b/zebra/rt_netlink.c index c24745cf1c..4fe4d82386 100644 --- a/zebra/rt_netlink.c +++ b/zebra/rt_netlink.c @@ -2133,6 +2133,11 @@ enum zebra_dplane_result kernel_nexthop_update(struct zebra_dplane_ctx *ctx) case DPLANE_OP_ADDR_UNINSTALL: case DPLANE_OP_MAC_INSTALL: case DPLANE_OP_MAC_DELETE: + case DPLANE_OP_NEIGH_INSTALL: + case DPLANE_OP_NEIGH_UPDATE: + case DPLANE_OP_NEIGH_DELETE: + case DPLANE_OP_VTEP_ADD: + case DPLANE_OP_VTEP_DELETE: case DPLANE_OP_NONE: flog_err( EC_ZEBRA_NHG_FIB_UPDATE, diff --git a/zebra/zebra_nhg.c b/zebra/zebra_nhg.c index 720c09397f..c22ed67f80 100644 --- a/zebra/zebra_nhg.c +++ b/zebra/zebra_nhg.c @@ -1916,6 +1916,11 @@ void zebra_nhg_dplane_result(struct zebra_dplane_ctx *ctx) case DPLANE_OP_ADDR_UNINSTALL: case DPLANE_OP_MAC_INSTALL: case DPLANE_OP_MAC_DELETE: + case DPLANE_OP_NEIGH_INSTALL: + case DPLANE_OP_NEIGH_UPDATE: + case DPLANE_OP_NEIGH_DELETE: + case DPLANE_OP_VTEP_ADD: + case DPLANE_OP_VTEP_DELETE: case DPLANE_OP_NONE: break; } |
