]> git.proxmox.com Git - mirror_frr.git/commitdiff
zebra: Add DPLANE_NEIGH and DPLANE_VTEP to nhg cases
authorStephen Worley <sworley@cumulusnetworks.com>
Tue, 24 Sep 2019 22:38:28 +0000 (18:38 -0400)
committerStephen Worley <sworley@cumulusnetworks.com>
Fri, 25 Oct 2019 15:13:43 +0000 (11:13 -0400)
Add DPLANE_OP_NEIGH and DPLANE_OP_VTEP to nhg dplane
handler's switch statements.

Signed-off-by: Stephen Worley <sworley@cumulusnetworks.com>
zebra/rt_netlink.c
zebra/zebra_nhg.c

index c24745cf1c5fe75335f412e8299e8b1b0185e60c..4fe4d8238697dd4be87d38387521eba394331504 100644 (file)
@@ -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,
index 720c09397f98c0dc27dfe2d2b1cb46147d032589..c22ed67f8071cbd1e300dd5c07e7fee735bc8eda 100644 (file)
@@ -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;
                }