0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-12-22 17:51:53 +00:00

Merge commit 'd8130da8' into mq-aggregator-for-v3

This commit is contained in:
Maria Matejka 2023-11-09 16:36:54 +01:00
commit f434eb3865
2 changed files with 12 additions and 1 deletions

View File

@ -1414,6 +1414,16 @@ bgp_reload_routes(struct channel *C)
struct bgp_proto *p = (void *) C->proto;
struct bgp_channel *c = (void *) C;
/* For MPLS channel, reload all MPLS-aware channels */
if (C == p->p.mpls_channel)
{
BGP_WALK_CHANNELS(p, c)
if ((c->desc->mpls) && (p->route_refresh || c->c.in_table))
bgp_reload_routes(&c->c);
return;
}
/* Ignore non-BGP channels */
if (C->channel != &channel_bgp)
return;

View File

@ -296,7 +296,8 @@ l3vpn_reload_routes(struct channel *C)
break;
case NET_MPLS:
/* FIXME */
channel_request_feeding(p->ip4_channel);
channel_request_feeding(p->ip6_channel);
break;
}
}