diff options
| author | Russ White <russ@riw.us> | 2023-09-26 10:07:02 -0400 | 
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-09-26 10:07:02 -0400 | 
| commit | 8e755a03a3257644c0542a8ee658d2c08230c0ae (patch) | |
| tree | a4d58a1595c3884d9555d88d533fd2043a8de21d /bgpd/bgp_zebra.c | |
| parent | c0a681eed504398fc1fef11bd62b3667c93d8048 (diff) | |
| parent | 8074d6f438bfb6c0cc98626b54919ce10f190125 (diff) | |
Merge pull request #12649 from louis-6wind/bgp-link-state
bgpd: add basic support of BGP Link-State RFC7752
Diffstat (limited to 'bgpd/bgp_zebra.c')
| -rw-r--r-- | bgpd/bgp_zebra.c | 4 | 
1 files changed, 4 insertions, 0 deletions
diff --git a/bgpd/bgp_zebra.c b/bgpd/bgp_zebra.c index 9e02f1b550..741542f9ba 100644 --- a/bgpd/bgp_zebra.c +++ b/bgpd/bgp_zebra.c @@ -1322,6 +1322,10 @@ 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  | 
