mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-07 17:18:56 +00:00
lib: call apply_mask in route_node_get
Signed-off-by: Chirag Shah <chirag@cumulusnetworks.com>
This commit is contained in:
parent
a64356180f
commit
b915f4d509
@ -281,6 +281,7 @@ struct route_node *route_node_get(struct route_table *const table,
|
|||||||
u_char prefixlen = p->prefixlen;
|
u_char prefixlen = p->prefixlen;
|
||||||
const u_char *prefix = &p->u.prefix;
|
const u_char *prefix = &p->u.prefix;
|
||||||
|
|
||||||
|
apply_mask((struct prefix *)&p);
|
||||||
node = hash_get(table->hash, (void *)p, NULL);
|
node = hash_get(table->hash, (void *)p, NULL);
|
||||||
if (node && node->info)
|
if (node && node->info)
|
||||||
return route_lock_node(node);
|
return route_lock_node(node);
|
||||||
|
Loading…
Reference in New Issue
Block a user