From: Quentin Young Date: Thu, 3 Aug 2017 14:57:31 +0000 (-0400) Subject: lib: add missed apply_mask() X-Git-Tag: frr-4.0-dev~461^2 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=refs%2Fpull%2F900%2Fhead;p=mirror%2Ffrr.git lib: add missed apply_mask() Signed-off-by: Quentin Young --- diff --git a/lib/table.c b/lib/table.c index 2defa4fb62..007d41778e 100644 --- a/lib/table.c +++ b/lib/table.c @@ -88,6 +88,7 @@ static struct route_node *route_node_set(struct route_table *table, node = route_node_new(table); prefix_copy(&node->p, prefix); + apply_mask(&node->p); node->table = table; inserted = hash_get(node->table->hash, node, hash_alloc_intern);