From: Chirag Shah Date: Mon, 28 Aug 2017 14:52:50 +0000 (-0700) Subject: lib: call apply_mask in route_node_get X-Git-Tag: frr-4.0-dev~339^2~1 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=b915f4d5091f708c3f261f15a97e7e54697b5b6a;p=mirror%2Ffrr.git lib: call apply_mask in route_node_get Signed-off-by: Chirag Shah --- diff --git a/lib/table.c b/lib/table.c index 67cf6aeec3..d7ecdd8d7f 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);