Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bgpd: Show which AFI is affected when prefix-list is not found #16500

Conversation

ton31337
Copy link
Member

When the prefix-list is not found, show which AFI is the real one we are looking for.

E.g.: looking at this output is not clear:

[RYF1Z-ZKDRS] route_match_address_prefix_list: Prefix List p1 specified does not exist defaulting to NO_MATCH

route_match_address_prefix_list() is called by route_match_ipv6_address_prefix_list(), and route_match_ip_address_prefix_list().

When the prefix-list is not found, show which AFI is the real one we are
looking for.

E.g.: looking at this output is not clear:

```
[RYF1Z-ZKDRS] route_match_address_prefix_list: Prefix List p1 specified does not exist defaulting to NO_MATCH
```

route_match_address_prefix_list() is called by route_match_ipv6_address_prefix_list(),
and route_match_ip_address_prefix_list().

Signed-off-by: Donatas Abraitis <[email protected]>
@ton31337 ton31337 force-pushed the fix/show_afi_when_printing_debug branch from d678340 to 2419fc5 Compare July 31, 2024 10:21
@github-actions github-actions bot added size/S and removed size/XS labels Jul 31, 2024
@donaldsharp donaldsharp merged commit 3b3fff4 into FRRouting:master Jul 31, 2024
10 of 11 checks passed
@ton31337 ton31337 deleted the fix/show_afi_when_printing_debug branch July 31, 2024 12:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants