summaryrefslogtreecommitdiff
path: root/lib/table.c
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@diac24.net>2017-08-04 08:49:20 +0200
committerGitHub <noreply@github.com>2017-08-04 08:49:20 +0200
commite4f48ace5de73c4258db1d87291fe2407106eaac (patch)
treea1336e2922befea37796774bd2d499aef4f2e8fc /lib/table.c
parentf28762d2359626b635eb9e05b38d4cd90b539d42 (diff)
parentc7fcc67369665f166a1c800520d17cb863a625d9 (diff)
Merge pull request #900 from qlyoung/apply-mask
lib: add missed apply_mask()
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);