summaryrefslogtreecommitdiff
path: root/lib/filter_cli.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2020-06-02 16:10:48 -0400
committerDonald Sharp <sharpd@cumulusnetworks.com>2020-06-04 13:25:11 -0400
commit409148f62a70baec0c26dc7ed0ca4eade6756126 (patch)
tree8dbe6be7da7896d4fa55be0634558e92c3193140 /lib/filter_cli.c
parentce49c4255dc54ac5c8e9df7312be89797319da5a (diff)
bgpd: Actually find the sequence number for `bgp extcommunity-list...`
The code in the bgp extcommunity-list function was using argv_find to get the correct idx. The problem was that we had already done argv_finds before and idx was non-zero thus having us always set the seq pointer to what was last looked up. This causes us to pass in a value to the underlying function and it would just wisely ignore it causing a seq number of 0. We would then write this seq number of 0 and then immediately reject it on read in again. BOO! Actually handle argv_find the way it was meant to be. Ticket:CM-29926 Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'lib/filter_cli.c')
0 files changed, 0 insertions, 0 deletions