mirror of
https://github.com/FRRouting/frr.git
synced 2025-04-30 13:37:17 +02:00
Merge pull request #17422 from opensourcerouting/fix/coverity_bgp_color
bgpd: Fix color extended community parsing
This commit is contained in:
commit
e2d9e19282
|
@ -766,8 +766,6 @@ static const char *ecommunity_gettoken(const char *str, void *eval_ptr,
|
|||
if (*endptr != '\0' || tmp_as > BGP_AS4_MAX ||
|
||||
errno)
|
||||
goto error;
|
||||
if (*token == ecommunity_token_color && as > 3)
|
||||
goto error;
|
||||
as = (as_t)tmp_as;
|
||||
}
|
||||
} else if (*p == '.') {
|
||||
|
|
Loading…
Reference in a new issue