Fixed silly bug in previous commit.
This commit is contained in:
parent
67be5b23cd
commit
0b7610985c
1 changed files with 1 additions and 1 deletions
|
@ -295,7 +295,7 @@ rte_recalculate(rtable *table, net *net, struct proto *p, rte *new, ea_list *tmp
|
|||
{
|
||||
if (old->attrs->proto == p)
|
||||
{
|
||||
if (rte_same(old, new))
|
||||
if (new && rte_same(old, new))
|
||||
{
|
||||
/* No changes, ignore the new route */
|
||||
rte_trace_in(D_ROUTES, p, new, "ignored");
|
||||
|
|
Loading…
Reference in a new issue