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:
commit
f434eb3865
@ -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;
|
||||
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user