diff options
author | Donald Sharp <sharpd@nvidia.com> | 2023-06-02 21:04:38 +0200 |
---|---|---|
committer | Donald Sharp <sharpd@nvidia.com> | 2023-06-05 13:57:49 +0200 |
commit | 75aaf03ff33c2bf97606686eba2fa2c7b2f3499d (patch) | |
tree | 6baa52c33a405244377caa958eade6f9933f0425 /bgpd/bgp_clist.h | |
parent | tests: Rename a test to test_bgp_gr_functionality_topo3.py (diff) | |
download | frr-75aaf03ff33c2bf97606686eba2fa2c7b2f3499d.tar.xz frr-75aaf03ff33c2bf97606686eba2fa2c7b2f3499d.zip |
bgpd: entry->any is never true
The only places entry->any could ever be set to true was
when str was NULL. Unfortunately with the way our CLI works
str is impossible to be NonNULL. The entry->any value *used*
to work prior to commit e961923c7217b935027107cad30c35c3907c936f
but it was changed back in 2016 and no-one has noticed the changed
ability.
Let's just admit that there are no users of this and remove this
dead code.
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'bgpd/bgp_clist.h')
-rw-r--r-- | bgpd/bgp_clist.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/bgpd/bgp_clist.h b/bgpd/bgp_clist.h index 7a9b28038..8e5d637ba 100644 --- a/bgpd/bgp_clist.h +++ b/bgpd/bgp_clist.h @@ -65,9 +65,6 @@ struct community_entry { /* Standard or expanded. */ uint8_t style; - /* Any match. */ - bool any; - /* Sequence number. */ int64_t seq; |