diff options
author | Chirag Shah <chirag@cumulusnetworks.com> | 2017-08-28 16:52:50 +0200 |
---|---|---|
committer | Chirag Shah <chirag@cumulusnetworks.com> | 2017-08-28 16:52:50 +0200 |
commit | b915f4d5091f708c3f261f15a97e7e54697b5b6a (patch) | |
tree | e438f82052c5a003e8ece46b86a1701e3915926e /lib/table.c | |
parent | ospfd: fix route_node_get (diff) | |
download | frr-b915f4d5091f708c3f261f15a97e7e54697b5b6a.tar.xz frr-b915f4d5091f708c3f261f15a97e7e54697b5b6a.zip |
lib: call apply_mask in route_node_get
Signed-off-by: Chirag Shah <chirag@cumulusnetworks.com>
Diffstat (limited to 'lib/table.c')
-rw-r--r-- | lib/table.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/table.c b/lib/table.c index 67cf6aeec..d7ecdd8d7 100644 --- a/lib/table.c +++ b/lib/table.c @@ -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); |