From: Lou Berger Date: Tue, 6 Mar 2018 18:43:43 +0000 (-0500) Subject: bgpd: another change to keep indent.py happy X-Git-Tag: frr-5.0-dev~184^2~3 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=3380418fa10556ef2c9139d09b9a435db64dc392;p=mirror%2Ffrr.git bgpd: another change to keep indent.py happy Signed-off-by: Lou Berger --- diff --git a/bgpd/rfapi/vnc_export_bgp.c b/bgpd/rfapi/vnc_export_bgp.c index e88dd9399c..e294cae074 100644 --- a/bgpd/rfapi/vnc_export_bgp.c +++ b/bgpd/rfapi/vnc_export_bgp.c @@ -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); } }