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:
parent
2ce25ebbef
commit
05e3933c06
@ -1575,7 +1575,7 @@ rte_update2(struct channel *c, const net_addr *n, rte *new, struct rte_src *src)
|
|||||||
}
|
}
|
||||||
else if (filter)
|
else if (filter)
|
||||||
{
|
{
|
||||||
rta *old_attrs;
|
rta *old_attrs = NULL;
|
||||||
rte_make_tmp_attrs(&new, rte_update_pool, &old_attrs);
|
rte_make_tmp_attrs(&new, rte_update_pool, &old_attrs);
|
||||||
|
|
||||||
int fr = f_run(filter, &new, rte_update_pool, 0);
|
int fr = f_run(filter, &new, rte_update_pool, 0);
|
||||||
|
Loading…
Reference in New Issue
Block a user