From 0b7610985cd44435ab40dd2e78646f400db908c5 Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Sat, 6 May 2000 21:31:41 +0000 Subject: Fixed silly bug in previous commit. --- nest/rt-table.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nest') 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"); -- cgit v1.2.3