mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-12-22 09:41:54 +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 (old->attrs->proto == p)
|
||||||
{
|
{
|
||||||
if (rte_same(old, new))
|
if (new && rte_same(old, new))
|
||||||
{
|
{
|
||||||
/* No changes, ignore the new route */
|
/* No changes, ignore the new route */
|
||||||
rte_trace_in(D_ROUTES, p, new, "ignored");
|
rte_trace_in(D_ROUTES, p, new, "ignored");
|
||||||
|
Loading…
Reference in New Issue
Block a user