summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nest/rt-table.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/nest/rt-table.c b/nest/rt-table.c
index cae6afaa..a06b8c35 100644
--- a/nest/rt-table.c
+++ b/nest/rt-table.c
@@ -434,7 +434,8 @@ rt_notify_basic(struct announce_hook *ah, net *net, rte *new0, rte *old0, int re
if (new)
new = export_filter(ah, new, &new_free, &tmpa, 0);
- if (old && !(refeed || (old->lastmod <= ah->last_out_filter_change)))
+ if (old && !(refeed || ((old->lastmod <= ah->last_out_filter_change) &&
+ (p != old->sender->proto))))
old = export_filter(ah, old, &old_free, NULL, 1);
if (!new && !old)