summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--nest/rt-table.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/nest/rt-table.c b/nest/rt-table.c
index dc72c6b..228be12 100644
--- a/nest/rt-table.c
+++ b/nest/rt-table.c
@@ -111,9 +111,8 @@ rte_announce(net *net, rte *new, rte *old)
struct proto *p;
WALK_LIST(p, proto_list)
- if (!new || new->attrs->proto != p)
- if (p->rt_notify)
- p->rt_notify(p, net, new, old);
+ if (p->rt_notify)
+ p->rt_notify(p, net, new, old);
}
void