mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-11-08 12:18:42 +00:00
Fixed silly bug in previous commit.
This commit is contained in:
parent
67be5b23cd
commit
0b7610985c
@ -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 New Issue
Block a user