]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
fixup! fixup! fixup! rt-feed-by-fib: addr to trie
authorkaterina.kubecova <katerina.kubecova@nic.cz>
Mon, 2 Oct 2023 10:10:50 +0000 (12:10 +0200)
committerkaterina.kubecova <katerina.kubecova@nic.cz>
Mon, 2 Oct 2023 10:10:50 +0000 (12:10 +0200)
nest/protocol.h
nest/rt.h

index 4a19d1cece1db0a54db5252b554931f0616fd037..a3c5c009d43761f9fb88e4cea646eac0c7f4a780 100644 (file)
@@ -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 */
index 1dbb684fe35b941c44efe6abb9989656432dfdb4..90d4158cd59844c412fc81af4c5363ddb942b27a 100644 (file)
--- 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);