diff options
| author | Don Slice <dslice@cumulusnetworks.com> | 2016-07-18 10:32:46 -0400 |
|---|---|---|
| committer | Don Slice <dslice@cumulusnetworks.com> | 2016-07-18 10:32:46 -0400 |
| commit | 849144993d13bae68f8eccf45c677e4a78e153bd (patch) | |
| tree | 412568f45ef5fc9196d8e6669d0399b8a11c9ec4 /zebra/interface.c | |
| parent | b3a39dc510a258282908674e55c5b27be61a642a (diff) | |
bgpd: Use the correct bgp instance for cli commands issuing clear
Some bgp commands end with doing a bgp_clear_vty, which invalidly
made the assumption that the clear should always be done for the default
instance. This fix derives the correct instance from the vty-index if
one is supplied, and uses the default instance if it is not.
Ticket: CM-10113
Signed-off-by: Don Slice
Reviewed-by: Donald Sharp
Diffstat (limited to 'zebra/interface.c')
0 files changed, 0 insertions, 0 deletions
