mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-11-12 22:28:44 +00:00
Do not try to check flowspec validity for piped routes
This commit is contained in:
parent
61842ff315
commit
b06911f6ef
@ -2925,7 +2925,7 @@ static struct rte_storage *
|
|||||||
rt_flowspec_update_rte(rtable *tab, net *n, rte *r)
|
rt_flowspec_update_rte(rtable *tab, net *n, rte *r)
|
||||||
{
|
{
|
||||||
#ifdef CONFIG_BGP
|
#ifdef CONFIG_BGP
|
||||||
if (rt_get_source_attr(r) != RTS_BGP)
|
if (r->generation || (rt_get_source_attr(r) != RTS_BGP))
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
struct bgp_channel *bc = (struct bgp_channel *) SKIP_BACK(struct channel, in_req, r->sender->req);
|
struct bgp_channel *bc = (struct bgp_channel *) SKIP_BACK(struct channel, in_req, r->sender->req);
|
||||||
|
Loading…
Reference in New Issue
Block a user