summaryrefslogtreecommitdiff
path: root/lib/command.c
diff options
context:
space:
mode:
authorSindhu Parvathi Gopinathan <sgopinathan@nvidia.com>2023-03-20 05:15:03 -0700
committerMergify <37929162+mergify[bot]@users.noreply.github.com>2023-03-21 06:59:33 +0000
commit51c7566f0aff75018fc0051e6e4cf69271951883 (patch)
treee93a5736fd5fbe1393f8b7503e8a18e4f776679a /lib/command.c
parent64de7b58201e9e968cbf7758bd6d1c27310f3261 (diff)
lib:fix clear route-map cmd using DEFPY
Due to the wrong input argv id, "argv[idx_word]->arg" fetched in-correctly and it clears all the route-maps instead of specific one. Now correct argv id is passed to clear the given route-map counters. Also, use RMAP_NAME which allows to show list of configured route-maps in the system. After Fix:- Ticket:#3407773 Issue:3407773 Testing: UT done Before: TORC11# clear route-map counters <cr> WORD route-map name After: TORC11# clear route-map counters <cr> RMAP_NAME route-map name my-as Signed-off-by: Chirag Shah <chirag@nvidia.com> Signed-off-by: Sindhu Parvathi Gopinathan's <sgopinathan@nvidia.com> (cherry picked from commit 463110f7335632d03557f1c5bfdd066b170011a8)
Diffstat (limited to 'lib/command.c')
0 files changed, 0 insertions, 0 deletions