]> git.proxmox.com Git - mirror_frr.git/commitdiff
bgpd: another change to keep indent.py happy
authorLou Berger <lberger@labn.net>
Tue, 6 Mar 2018 18:43:43 +0000 (13:43 -0500)
committerLou Berger <lberger@labn.net>
Tue, 6 Mar 2018 19:01:03 +0000 (14:01 -0500)
Signed-off-by: Lou Berger <lberger@labn.net>
bgpd/rfapi/vnc_export_bgp.c

index e88dd9399c565b01d6711e5c9222827b51fd89de..e294cae07451d1fd11305fc72e8aa5ef07a80f1d 100644 (file)
@@ -1035,20 +1035,18 @@ void vnc_direct_bgp_add_nve(struct bgp *bgp, struct rfapi_descriptor *rfd)
 
                                        iattr = bgp_attr_intern(&hattr);
                                        bgp_attr_flush(&hattr);
-
-                                       bgp_update(irfd->peer,
-                                                  &rn->p, /* prefix */
-                                                  0,      /* addpath_id */
-                                                  iattr,  /* bgp_update copies
-                                                             it */
-                                                  afi, SAFI_UNICAST,
-                                                  ZEBRA_ROUTE_VNC_DIRECT,
-                                                  BGP_ROUTE_REDISTRIBUTE,
-                                                  NULL,     /* RD not used for
-                                                               unicast */
-                                                  NULL,     /* tag not used for
-                                                               unicast */
-                                                  0, 0, NULL); /* EVPN not used */
+                                       bgp_update(
+                                               irfd->peer, &rn->p, /* prefix */
+                                               0,     /* addpath_id */
+                                               iattr, /* bgp_update copies
+                                                         it */
+                                               afi, SAFI_UNICAST,
+                                               ZEBRA_ROUTE_VNC_DIRECT,
+                                               BGP_ROUTE_REDISTRIBUTE, NULL,
+                                               /* RD not used for unicast */
+                                               NULL,
+                                               /* tag not used for unicast */
+                                               0, 0, NULL); /* EVPN not used */
 
                                        bgp_attr_unintern(&iattr);
                                }
@@ -1952,20 +1950,20 @@ void vnc_direct_bgp_rh_vpn_enable(struct bgp *bgp, afi_t afi)
                                                "%s: calling bgp_update",
                                                __func__);
 
-                                       bgp_update(ri->peer,
-                                                  &rn->p, /* prefix */
-                                                  0,      /* addpath_id */
-                                                  iattr,  /* bgp_update copies
-                                                             it */
-                                                  AFI_IP, SAFI_UNICAST,
-                                                  ZEBRA_ROUTE_VNC_DIRECT_RH,
-                                                  BGP_ROUTE_REDISTRIBUTE,
-                                                  NULL,     /* RD not used for
-                                                               unicast */
-                                                  NULL,     /* tag not used for
-                                                               unicast, EVPN
-                                                               neither */
-                                                  0, 0, NULL); /* EVPN not used */
+                                       bgp_update(
+                                               ri->peer, &rn->p, /* prefix */
+                                               0,     /* addpath_id */
+                                               iattr, /* bgp_update copies
+                                                         it */
+                                               AFI_IP, SAFI_UNICAST,
+                                               ZEBRA_ROUTE_VNC_DIRECT_RH,
+                                               BGP_ROUTE_REDISTRIBUTE, NULL,
+                                               /* RD not used for unicast */
+                                               NULL,
+                                               /* tag not used for unicast,
+                                                  or EVPN */
+                                               0, 0, NULL); /* EVPN not used */
+
                                        bgp_attr_unintern(&iattr);
                                }
                        }