summaryrefslogtreecommitdiff
path: root/lib/command.c
diff options
context:
space:
mode:
authorradhika <radhika@cumulusnetworks.com>2015-08-26 12:37:46 -0700
committerradhika <radhika@cumulusnetworks.com>2015-08-26 12:37:46 -0700
commitb255a4b1956b179ef23bd728a58b6f1c502cc792 (patch)
treef08bd9b5de810d891b2c86439008b752f350f1c6 /lib/command.c
parent4334ed8d44ca947bc163b24499d76ab7357775dc (diff)
Fix for PTM cable status change notification not being handeled in Zebra
Ticket: CM-6690 Reviewed By: Donald, Kanna Testing Done: Double commit of 4bbc0cf4a98d7fd2aabe47241424fa7c5a3ae1eb from br2.5 to master PTM cable status updates were not being handled in the notification callback registered with the ptm lib. This results in interface ptm status mismatch between PTM and zebra when interface cable check status changes (pass->fail or fail->pass). Zebra requests PTM to send cable status updates using get-status command and PTM sends the cable status updates as command responses to get-status. This was being handled in the commmand response callback registered with ptm lib. But, the subsequent status updates come as notifications and handling of those notifications that was missing in the notification callback. Fixed the issue by making a common callback for command responses and notifications. All the command responses other than the responses to get-status are dropped/ignored.
Diffstat (limited to 'lib/command.c')
0 files changed, 0 insertions, 0 deletions