Commit 0b761098 authored by Martin Mareš's avatar Martin Mareš

Fixed silly bug in previous commit.

parent 67be5b23
......@@ -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");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment