diff options
Diffstat (limited to 'bgpd/bgp_zebra.c')
| -rw-r--r-- | bgpd/bgp_zebra.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/bgpd/bgp_zebra.c b/bgpd/bgp_zebra.c index 0e7a361edc..2c9529700f 100644 --- a/bgpd/bgp_zebra.c +++ b/bgpd/bgp_zebra.c @@ -3049,8 +3049,8 @@ int bgp_zebra_send_capabilities(struct bgp *bgp, bool disable) api.vrf_id = bgp->vrf_id; } - if (zclient_capabilities_send(ZEBRA_CLIENT_CAPABILITIES, - zclient, &api) < 0) { + if (zclient_capabilities_send(ZEBRA_CLIENT_CAPABILITIES, zclient, &api) + < 0) { zlog_err("error sending capability"); ret = BGP_GR_FAILURE; } else { @@ -3091,8 +3091,8 @@ int bgp_zebra_update(afi_t afi, safi_t safi, vrf_id_t vrf_id, int type) api.vrf_id = vrf_id; api.cap = type; - if (zclient_capabilities_send(ZEBRA_CLIENT_CAPABILITIES, - zclient, &api) < 0) { + if (zclient_capabilities_send(ZEBRA_CLIENT_CAPABILITIES, zclient, &api) + < 0) { if (BGP_DEBUG(zebra, ZEBRA)) zlog_debug("error sending capability"); return BGP_GR_FAILURE; @@ -3123,8 +3123,8 @@ int bgp_zebra_stale_timer_update(struct bgp *bgp) api.cap = ZEBRA_CLIENT_RIB_STALE_TIME; api.stale_removal_time = bgp->rib_stale_time; api.vrf_id = bgp->vrf_id; - if (zclient_capabilities_send(ZEBRA_CLIENT_CAPABILITIES, - zclient, &api) < 0) { + if (zclient_capabilities_send(ZEBRA_CLIENT_CAPABILITIES, zclient, &api) + < 0) { if (BGP_DEBUG(zebra, ZEBRA)) zlog_debug("error sending capability"); return BGP_GR_FAILURE; |
