summaryrefslogtreecommitdiffstats
path: root/babeld/babel_interface.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2019-09-19 05:55:34 +0200
committerDonald Sharp <sharpd@cumulusnetworks.com>2019-09-19 19:34:06 +0200
commitb0b69e59f463b696d0e20f30c46c59c9cf0044b1 (patch)
tree479eb980f6eb740d6399daa383a20d175a93ff0f /babeld/babel_interface.c
parent*: Convert from ->interface_up to the interface callback (diff)
downloadfrr-b0b69e59f463b696d0e20f30c46c59c9cf0044b1.tar.xz
frr-b0b69e59f463b696d0e20f30c46c59c9cf0044b1.zip
*: Convert interface_down to interface down callback
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'babeld/babel_interface.c')
-rw-r--r--babeld/babel_interface.c13
1 files changed, 1 insertions, 12 deletions
diff --git a/babeld/babel_interface.c b/babeld/babel_interface.c
index a0df6d9e1..59d065116 100644
--- a/babeld/babel_interface.c
+++ b/babeld/babel_interface.c
@@ -86,16 +86,10 @@ babel_interface_up (ZAPI_CALLBACK_ARGS)
}
int
-babel_interface_down (ZAPI_CALLBACK_ARGS)
+babel_ifp_down(struct interface *ifp)
{
- struct stream *s = NULL;
- struct interface *ifp = NULL;
-
debugf(BABEL_DEBUG_IF, "receive a 'interface down'");
- s = zclient->ibuf;
- ifp = zebra_interface_state_read(s, vrf_id); /* it updates iflist */
-
if (ifp == NULL) {
return 0;
}
@@ -1256,11 +1250,6 @@ int babel_ifp_up(struct interface *ifp)
return 0;
}
-int babel_ifp_down(struct interface *ifp)
-{
- return 0;
-}
-
int babel_ifp_destroy(struct interface *ifp)
{
return 0;