summaryrefslogtreecommitdiff
path: root/nest
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>2000-05-06 21:31:41 +0000
committerMartin Mares <mj@ucw.cz>2000-05-06 21:31:41 +0000
commit0b7610985cd44435ab40dd2e78646f400db908c5 (patch)
tree3106df33b5bf698c893787da688219bb5c5a6ba8 /nest
parent67be5b23cd80646c2aa5a9c6a3d373ceecb275b6 (diff)
Fixed silly bug in previous commit.
Diffstat (limited to 'nest')
-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 4214d078..7883f2eb 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");