summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>2000-05-06 23:31:41 +0200
committerMartin Mares <mj@ucw.cz>2000-05-06 23:31:41 +0200
commit0b7610985cd44435ab40dd2e78646f400db908c5 (patch)
tree3106df33b5bf698c893787da688219bb5c5a6ba8
parent67be5b23cd80646c2aa5a9c6a3d373ceecb275b6 (diff)
downloadbird-0b7610985cd44435ab40dd2e78646f400db908c5.tar
bird-0b7610985cd44435ab40dd2e78646f400db908c5.zip
Fixed silly bug in previous commit.
-rw-r--r--nest/rt-table.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nest/rt-table.c b/nest/rt-table.c
index 4214d07..7883f2e 100644
--- a/nest/rt-table.c
+++ b/nest/rt-table.c
@@ -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");