summaryrefslogtreecommitdiff
path: root/ripd/rip_interface.c
diff options
context:
space:
mode:
Diffstat (limited to 'ripd/rip_interface.c')
-rw-r--r--ripd/rip_interface.c22
1 files changed, 22 insertions, 0 deletions
diff --git a/ripd/rip_interface.c b/ripd/rip_interface.c
index 80561f350b..f20058a173 100644
--- a/ripd/rip_interface.c
+++ b/ripd/rip_interface.c
@@ -1253,6 +1253,26 @@ static int rip_interface_delete_hook(struct interface *ifp)
return 0;
}
+static int rip_ifp_create(struct interface *ifp)
+{
+ return 0;
+}
+
+static int rip_ifp_up(struct interface *ifp)
+{
+ return 0;
+}
+
+static int rip_ifp_down(struct interface *ifp)
+{
+ return 0;
+}
+
+static int rip_ifp_destroy(struct interface *ifp)
+{
+ return 0;
+}
+
/* Allocate and initialize interface vector. */
void rip_if_init(void)
{
@@ -1263,4 +1283,6 @@ void rip_if_init(void)
/* Install interface node. */
install_node(&interface_node, rip_interface_config_write);
if_cmd_init();
+ if_zapi_callbacks(rip_ifp_create, rip_ifp_up,
+ rip_ifp_down, rip_ifp_destroy);
}