]> git.puffer.fish Git - mirror/frr.git/commitdiff
Revert "bgpd: do not announce link-state routes to zebra"
authorDonald Sharp <sharpd@nvidia.com>
Tue, 10 Oct 2023 20:43:59 +0000 (16:43 -0400)
committerDonald Sharp <sharpd@nvidia.com>
Tue, 10 Oct 2023 20:43:59 +0000 (16:43 -0400)
This reverts commit 39fb34275f827b3e1134549ed1731d74e72e6c79.

bgpd/bgp_zebra.c

index a04d54fa92e4d59985b333cb2b8c862342c863e8..5b69de08c2e98df9370dfddb888a8ba33c71e436 100644 (file)
@@ -1262,10 +1262,6 @@ void bgp_zebra_announce(struct bgp_dest *dest, const struct prefix *p,
        uint32_t bos = 0;
        uint32_t exp = 0;
 
-       if (afi == AFI_LINKSTATE)
-               /* nothing to install */
-               return;
-
        /*
         * BGP is installing this route and bgp has been configured
         * to suppress announcements until the route has been installed