Nest: Uninitialized variable fix
Thanks to Vincent Bernat for reporting this.
This commit is contained in:
parent
2ce25ebbef
commit
05e3933c06
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue