0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-11-17 08:38:42 +00:00

Nest: Uninitialized variable fix

Thanks to Vincent Bernat for reporting this.
This commit is contained in:
Maria Matejka 2019-07-08 13:04:50 +02:00
parent 2ce25ebbef
commit 05e3933c06

View File

@ -1575,7 +1575,7 @@ rte_update2(struct channel *c, const net_addr *n, rte *new, struct rte_src *src)
}
else if (filter)
{
rta *old_attrs;
rta *old_attrs = NULL;
rte_make_tmp_attrs(&new, rte_update_pool, &old_attrs);
int fr = f_run(filter, &new, rte_update_pool, 0);