diff options
| author | Sindhu Parvathi Gopinathan <sgopinathan@nvidia.com> | 2023-03-20 05:15:03 -0700 |
|---|---|---|
| committer | Chirag Shah <chirag@nvidia.com> | 2023-03-20 19:17:32 -0700 |
| commit | 463110f7335632d03557f1c5bfdd066b170011a8 (patch) | |
| tree | 9b044583f75f66253f89ac0ab4c6e33dcffe40b9 /zebra/kernel_socket.c | |
| parent | 55cf5ea672580193a9d419486b7bda2df1186cd4 (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>
Diffstat (limited to 'zebra/kernel_socket.c')
0 files changed, 0 insertions, 0 deletions
