]> git.proxmox.com Git - mirror_frr.git/blobdiff - bgpd/bgp_zebra.c
Merge pull request #5761 from qlyoung/fix-bgp-gr-cruft
[mirror_frr.git] / bgpd / bgp_zebra.c
index 0e7a361edc2d29726fdfb2377e0cfe059bad614d..2c9529700f290bb783ea593fa575da150d35d236 100644 (file)
@@ -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;