-/* $OpenBSD: rde_filter.c,v 1.85 2018/02/10 01:24:28 benno Exp $ */
+/* $OpenBSD: rde_filter.c,v 1.86 2018/02/10 04:23:48 benno Exp $ */
/*
* Copyright (c) 2004 Claudio Jeker <claudio@openbsd.org>
}
}
return (0);
- }
-
- /* XXX must be last because we unconditionally return here */
- if (f->match.prefix.addr.aid != 0)
+ } else if (f->match.prefix.addr.aid != 0)
return (rde_test_prefix(&f->match.prefix, prefix, plen));
/* matched somewhen or is anymatch rule */