summaryrefslogtreecommitdiff
path: root/lib/command.c
diff options
context:
space:
mode:
authorDon Slice <dslice@cumulusnetworks.com>2016-07-28 14:35:48 -0700
committerDon Slice <dslice@cumulusnetworks.com>2016-07-28 15:47:45 -0700
commitf31fa00421513629cea43a8b4274b23383480677 (patch)
treeab667bbe38002a248850503688a5f8c273917989 /lib/command.c
parente62d0e2535b46e3eb6887b2276278c5c468b4731 (diff)
bgpd: Pass correct bgp-name for clear command
Found that original fix for CM-10113 had a significant flaw, that by deriving the bgp instance from the vty->index, if a clear ip bgp command was entered from a vty index other then bgp, a crash occurred. This fix passes the bgp->name to the clear functions so the correct instance can be derived. Tested manually in both the CM-10113 case as well as the problem discovered while testing CM-11480. Ticket: CM-10113 Signed-off-by: Don Slice Reviewed-by:
Diffstat (limited to 'lib/command.c')
0 files changed, 0 insertions, 0 deletions