0
0
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:
Martin Mares 2000-05-06 21:31:41 +00:00
parent 67be5b23cd
commit 0b7610985c

View File

@ -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");