]> git.puffer.fish Git - mirror/frr.git/commitdiff
bgpd: actually suppress coalesce-time 1964/head
authorQuentin Young <qlyoung@cumulusnetworks.com>
Mon, 26 Mar 2018 05:24:41 +0000 (01:24 -0400)
committerQuentin Young <qlyoung@cumulusnetworks.com>
Mon, 26 Mar 2018 05:29:37 +0000 (01:29 -0400)
Previous patches to suppress display of automatically calculated
coalesce-time did not fully work because the flag indicating whether the
value was automatically calculated was not set properly upon creation.

Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
bgpd/bgpd.c

index c178727b548270be0fa20f84730717c23b5ab489..d103584594182e71c9a259314f366341a5c2c797 100644 (file)
@@ -2863,6 +2863,7 @@ static struct bgp *bgp_create(as_t *as, const char *name,
        }
 
        bgp_lock(bgp);
+       bgp->heuristic_coalesce = true;
        bgp->inst_type = inst_type;
        bgp->vrf_id = (inst_type == BGP_INSTANCE_TYPE_DEFAULT) ? VRF_DEFAULT
                                                               : VRF_UNKNOWN;