0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-09-20 04:15:19 +00:00

Merge commit '2e484f8d' into thread-next

This commit is contained in:
Maria Matejka 2022-08-05 10:31:40 +02:00
commit 3ed6d0be93

View File

@ -2001,9 +2001,9 @@ bgp_setup_out_table(struct bgp_channel *c)
int int
bgp_preexport(struct channel *C, rte *e) bgp_preexport(struct channel *C, rte *e)
{ {
struct bgp_channel *c = (struct bgp_channel *) C;
struct bgp_proto *p = (struct bgp_proto *) C->proto; struct bgp_proto *p = (struct bgp_proto *) C->proto;
struct bgp_proto *src = bgp_rte_proto(e); struct bgp_proto *src = bgp_rte_proto(e);
struct bgp_channel *c = (struct bgp_channel *) C;
/* Reject our routes */ /* Reject our routes */
if (src == p) if (src == p)