diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2019-09-18 23:55:34 -0400 | 
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2019-09-19 13:34:06 -0400 | 
| commit | b0b69e59f463b696d0e20f30c46c59c9cf0044b1 (patch) | |
| tree | 479eb980f6eb740d6399daa383a20d175a93ff0f /ripd/rip_interface.c | |
| parent | ddbf3e60604019d4b38d51226700e2244cc531b6 (diff) | |
*: Convert interface_down to interface down callback
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'ripd/rip_interface.c')
| -rw-r--r-- | ripd/rip_interface.c | 19 | 
1 files changed, 1 insertions, 18 deletions
diff --git a/ripd/rip_interface.c b/ripd/rip_interface.c index e654c09128..13b9b874e3 100644 --- a/ripd/rip_interface.c +++ b/ripd/rip_interface.c @@ -346,20 +346,8 @@ int if_check_address(struct rip *rip, struct in_addr addr)  }  /* Inteface link down message processing. */ -int rip_interface_down(ZAPI_CALLBACK_ARGS) +static int rip_ifp_down(struct interface *ifp)  { -	struct interface *ifp; -	struct stream *s; - -	s = zclient->ibuf; - -	/* zebra_interface_state_read() updates interface structure in -	   iflist. */ -	ifp = zebra_interface_state_read(s, vrf_id); - -	if (ifp == NULL) -		return 0; -  	rip_interface_sync(ifp);  	rip_if_down(ifp); @@ -1241,11 +1229,6 @@ static int rip_interface_delete_hook(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;  | 
