summaryrefslogtreecommitdiff
path: root/zebra/interface.c
diff options
context:
space:
mode:
Diffstat (limited to 'zebra/interface.c')
-rw-r--r--zebra/interface.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/zebra/interface.c b/zebra/interface.c
index 328ef3fa41..ec1f16f671 100644
--- a/zebra/interface.c
+++ b/zebra/interface.c
@@ -1205,6 +1205,16 @@ void zebra_if_set_protodown(struct interface *ifp, bool down)
#endif
}
+/* Handler for incoming intf address change events */
+void zebra_if_addr_update_ctx(struct zebra_dplane_ctx *ctx)
+{
+#ifdef HAVE_NETLINK
+ netlink_interface_addr_ctx(ctx);
+#else
+ dplane_ctx_fini(&ctx);
+#endif /* HAVE_NETLINK */
+}
+
/* Dump if address information to vty. */
static void connected_dump_vty(struct vty *vty, json_object *json,
struct connected *connected)