--- filter/filter.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/filter/filter.c b/filter/filter.c index b8147662..2e3ae8ba 100644 --- a/filter/filter.c +++ b/filter/filter.c @@ -461,7 +461,7 @@ filter_commit(struct config *new, struct config *old) WALK_LIST(sym, new->symbols) switch (sym->class) { case SYM_FUNCTION: - if ((osym = cf_find_symbol(old, sym->name)) && + if ((osym = cf_find_typed_symbol(old, sym->name, sym->net_type)) && (osym->class == SYM_FUNCTION) && f_same(sym->function, osym->function)) sym->flags |= SYM_FLAG_SAME; @@ -470,7 +470,7 @@ filter_commit(struct config *new, struct config *old) break; case SYM_FILTER: - if ((osym = cf_find_symbol(old, sym->name)) && + if ((osym = cf_find_typed_symbol(old, sym->name, sym->net_type)) && (osym->class == SYM_FILTER) && f_same(sym->filter->root, osym->filter->root)) sym->flags |= SYM_FLAG_SAME; -- 2.24.0