Merge pull request #900 from qlyoung/apply-mask

lib: add missed apply_mask()
This commit is contained in:
David Lamparter 2017-08-04 08:49:20 +02:00 committed by GitHub
commit e4f48ace5d

View File

@ -88,6 +88,7 @@ static struct route_node *route_node_set(struct route_table *table,
node = route_node_new(table); node = route_node_new(table);
prefix_copy(&node->p, prefix); prefix_copy(&node->p, prefix);
apply_mask(&node->p);
node->table = table; node->table = table;
inserted = hash_get(node->table->hash, node, hash_alloc_intern); inserted = hash_get(node->table->hash, node, hash_alloc_intern);