summaryrefslogtreecommitdiff
path: root/lib/table.c
diff options
context:
space:
mode:
authorQuentin Young <qlyoung@cumulusnetworks.com>2017-08-03 10:57:31 -0400
committerQuentin Young <qlyoung@cumulusnetworks.com>2017-08-03 11:12:14 -0400
commitc7fcc67369665f166a1c800520d17cb863a625d9 (patch)
treef85e7301615e819601526ce36838513654e7cc1b /lib/table.c
parentdacb17162a71369249ac0703a31ee7983fe37b6d (diff)
lib: add missed apply_mask()
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'lib/table.c')
-rw-r--r--lib/table.c1
1 files changed, 1 insertions, 0 deletions
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);