mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-11-09 12:48:43 +00:00
fixup! fixup! fixup! rt-feed-by-fib: addr to trie
This commit is contained in:
parent
3e7e61ec6c
commit
b61d506f9d
@ -559,7 +559,7 @@ struct channel {
|
||||
|
||||
struct rt_import_request in_req; /* Table import connection */
|
||||
struct rt_export_request out_req; /* Table export connection */
|
||||
|
||||
|
||||
linpool * reqv_trie_lp;
|
||||
|
||||
u32 refeed_count; /* Number of routes exported during refeed regardless of out_limit */
|
||||
|
@ -289,7 +289,7 @@ struct rt_pending_export {
|
||||
struct rt_prefilter_address{
|
||||
union{
|
||||
const struct f_trie *net_filter_trie;
|
||||
const net_addr *addr; /* Network prefilter address */
|
||||
const net_addr *addr; /* Network prefilter address */
|
||||
};
|
||||
/* Network prefilter mode (TE_ADDR_*) */
|
||||
enum {
|
||||
@ -327,7 +327,7 @@ struct rt_export_request {
|
||||
};
|
||||
|
||||
static inline int net_in_netX_from_export_request(const net_addr *a, const net_addr *n){
|
||||
if (a->type != n->type)
|
||||
if ( a->type != n->type )
|
||||
return 0;
|
||||
|
||||
return (net_pxlen(n) <= net_pxlen(a)) && ipa_in_netX(net_prefix(a), n);
|
||||
|
Loading…
Reference in New Issue
Block a user