diff options
author | Martin Mares <mj@ucw.cz> | 2000-05-06 23:31:41 +0200 |
---|---|---|
committer | Martin Mares <mj@ucw.cz> | 2000-05-06 23:31:41 +0200 |
commit | 0b7610985cd44435ab40dd2e78646f400db908c5 (patch) | |
tree | 3106df33b5bf698c893787da688219bb5c5a6ba8 | |
parent | 67be5b23cd80646c2aa5a9c6a3d373ceecb275b6 (diff) | |
download | bird-0b7610985cd44435ab40dd2e78646f400db908c5.tar bird-0b7610985cd44435ab40dd2e78646f400db908c5.zip |
Fixed silly bug in previous commit.
-rw-r--r-- | nest/rt-table.c | 2 |
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"); |