1
0
mirror of https://github.com/bgp/bgpq4.git synced 2024-05-11 05:55:05 +00:00

log wrong address family only with debugging.

This commit is contained in:
Alexandre Snarskii
2019-11-08 11:41:40 +03:00
parent ad840c452f
commit 97d9ade46f
2 changed files with 5 additions and 2 deletions

View File

@ -1,9 +1,12 @@
0.1.36-pre (2019-10-25):
0.1.36-pre (2019-11-08):
- minor documentation cleanup: bgpq3 supports much more vendors
than just Cisco and Juniper. Copyright years updated.
- Nokia SR OS "classic" actually supports aggregation and
and more-specific filtering in prefix-lists. Thanks to mfisher128
for reporting.
- change log level for prefixes with wrong address family from error
to debugging: it's perfectly correct to have prefixes of different
families in route-sets. Thanks to Jay Ford for suggestion.
0.1.35 (2018-11-30):
- initial support for Juniper route-filter-lists (JunOS 16.2+).

View File

@ -209,7 +209,7 @@ sx_prefix_range_parse(struct sx_radix_tree* tree, int af, int maxlen,
};
*d = '^';
if (af && p.family != af) {
sx_report(SX_ERROR, "Ignoring prefix %s, wrong af %i\n", text,
SX_DEBUG(debug_expander, "Ignoring prefix %s, wrong af %i\n", text,
p.family);
return 0;
};