diff options
author | Ondrej Zajicek <santiago@crfreenet.org> | 2023-05-19 01:02:57 +0200 |
---|---|---|
committer | Ondrej Zajicek <santiago@crfreenet.org> | 2023-05-19 01:02:57 +0200 |
commit | f8ba82804faba5cc1520d4545330502e29b9e920 (patch) | |
tree | a18c0c2309eaf4236c4ad2baf6a3f10084bdc118 /proto/static/static.c | |
parent | b0e97617d98ed02235de37b7e498d81f01330b50 (diff) |
BGP: Fix role check when no capability option is present
When an OPEN message without capability options was parsed, the remote
role field was not initialized with the proper (non-zero) default value,
so it was interpreted as if 'provider' was announced.
Thanks to Mikhail Grishin for the bugreport.
Diffstat (limited to 'proto/static/static.c')
0 files changed, 0 insertions, 0 deletions