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:
5
CHANGES
5
CHANGES
@ -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+).
|
||||
|
@ -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;
|
||||
};
|
||||
|
Reference in New Issue
Block a user