From: katerina.kubecova Date: Mon, 2 Oct 2023 10:10:50 +0000 (+0200) Subject: fixup! fixup! fixup! rt-feed-by-fib: addr to trie X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b61d506f9d98a52b4ab194058ac890b542abc8ad;p=thirdparty%2Fbird.git fixup! fixup! fixup! rt-feed-by-fib: addr to trie --- diff --git a/nest/protocol.h b/nest/protocol.h index 4a19d1cec..a3c5c009d 100644 --- a/nest/protocol.h +++ b/nest/protocol.h @@ -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 */ diff --git a/nest/rt.h b/nest/rt.h index 1dbb684fe..90d4158cd 100644 --- a/nest/rt.h +++ b/nest/rt.h @@ -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);