diff options
| author | Donatas Abraitis <donatas.abraitis@gmail.com> | 2020-03-26 16:06:00 +0200 |
|---|---|---|
| committer | Donatas Abraitis <donatas.abraitis@gmail.com> | 2020-03-26 16:06:00 +0200 |
| commit | 0f2a703d5e1fa441c45b89c602cb8b5d521dc3c4 (patch) | |
| tree | 83c85dbeb4f93ef85d542884cbe5f745b77c622b /lib/thread.c | |
| parent | 8fcca5024f7b5e1d81b0f6e1dff6b44972086bdd (diff) | |
bgpd: Print readable error message when parsing AGGREGATOR attribute
Having a full feed this leads to unknown. You can't point which prefix or
aspath has this malforming behavior.
Printing just `[EC 33554434] AGGREGATOR attribute is BGP_AS_ZERO(0)` isn't
enough, you can't directly pin-point where is the problem.
Additionally print at least aspath here:
```
[EC 33554434] AGGREGATOR AS number is 0 for aspath: 65000 65031
```
Overall the full table has only 6 such malformed prefixes:
```
aspath: 64539 15096 6939 45430 45458
aspath: 64539 15096 6939 1299 3257 34984 34984 34984 34984 34984 51174
aspath: 64539 15096 6939 286 34984 16135 16135 {16135}
aspath: 64539 15096 6939 7545 7545 136001
aspath: 64539 15096 6939 6762 3269 20746
aspath: 64539 15096 6939 7018 3379
```
Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
Diffstat (limited to 'lib/thread.c')
0 files changed, 0 insertions, 0 deletions
