mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-12-22 17:51:53 +00:00
fixup! fixup! rt-feed-by-fib: addr to trie
This commit is contained in:
parent
4de40e6767
commit
3e7e61ec6c
@ -318,14 +318,11 @@ channel_roa_out_changed(struct settle *se)
|
|||||||
{
|
{
|
||||||
log_msg(L_DEBUG "trie walk %N", &net);
|
log_msg(L_DEBUG "trie walk %N", &net);
|
||||||
|
|
||||||
|
|
||||||
pos++;
|
pos++;
|
||||||
pxc++;
|
pxc++;
|
||||||
}
|
}
|
||||||
TRIE_WALK_END;
|
TRIE_WALK_END;
|
||||||
|
|
||||||
/* TODO: use the information about what roa has changed */
|
|
||||||
|
|
||||||
struct f_trie_node4 n4 = (struct f_trie_node4) s->trie->root.v4;
|
struct f_trie_node4 n4 = (struct f_trie_node4) s->trie->root.v4;
|
||||||
log_msg(L_DEBUG "channel changed %i", n4.accept);
|
log_msg(L_DEBUG "channel changed %i", n4.accept);
|
||||||
c->refeed_pending = 1;
|
c->refeed_pending = 1;
|
||||||
|
@ -4345,7 +4345,7 @@ rt_feed_by_fib(void *data)
|
|||||||
|
|
||||||
FIB_ITERATE_START(&tab->fib, fit, net, n)
|
FIB_ITERATE_START(&tab->fib, fit, net, n)
|
||||||
{
|
{
|
||||||
if ((c->h.req->prefilter.addr_mode == TE_ADDR_NONE) || trie_match_net( c->h.req->prefilter.net_filter_trie, n->n.addr) )/*net_in_netX(n->n.addr, c->h.req->addr)) net n trie_match_net(const struct f_trie *t, const net_addr *n)*/
|
if ( (c->h.req->prefilter.addr_mode == TE_ADDR_NONE) || trie_match_net( c->h.req->prefilter.net_filter_trie, n->n.addr) )
|
||||||
{
|
{
|
||||||
if (!rt_prepare_feed(c, n, &block))
|
if (!rt_prepare_feed(c, n, &block))
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user