]> git.puffer.fish Git - mirror/frr.git/commitdiff
lib: add missed apply_mask() 900/head
authorQuentin Young <qlyoung@cumulusnetworks.com>
Thu, 3 Aug 2017 14:57:31 +0000 (10:57 -0400)
committerQuentin Young <qlyoung@cumulusnetworks.com>
Thu, 3 Aug 2017 15:12:14 +0000 (11:12 -0400)
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
lib/table.c

index 2defa4fb62e9bc27d993c5fb1b6f7439566a1a17..007d41778ea821d1f4a4d5b1ce71791ab3e76d8d 100644 (file)
@@ -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);