mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-06 14:25:35 +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;
|
||||
const u_char *prefix = &p->u.prefix;
|
||||
|
||||
apply_mask((struct prefix *)&p);
|
||||
node = hash_get(table->hash, (void *)p, NULL);
|
||||
if (node && node->info)
|
||||
return route_lock_node(node);
|
||||
|
Loading…
Reference in New Issue
Block a user