]> git.puffer.fish Git - matthieu/frr.git/commit
zebra: Fix last sent command to protocol
authorDonald Sharp <sharpd@cumulusnetworks.com>
Fri, 3 Jun 2016 08:56:10 +0000 (04:56 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Fri, 3 Jun 2016 08:59:26 +0000 (04:59 -0400)
commit80ab3edfbbfa655ccf3baf360a1b98e281cdcf84
treee7c68a085d954766b7c816a9c03df3c69e7bd44f
parent95ff066772b10e534ea235482d1f93c97bc49d85
zebra: Fix last sent command to protocol

With the addition of VRF's we were not properly
storing the last sent command to individual
protocols from zebra.  This commit fixes this:

Pre-Fix:
Client: bgp
------------------------
FD: 14
Route Table ID: 0
Connect Time: 00:10:51
Not registered for Nexthop Updates
Last Msg Rx Time: 00:10:51
Last Msg Tx Time: 00:00:04
Last Rcvd Cmd: ZEBRA_REDISTRIBUTE_ADD
Last Sent Cmd: (null)

Post-Fix:
Client: bgp
------------------------
FD: 14
Route Table ID: 0
Connect Time: 00:02:42
Not registered for Nexthop Updates
Last Msg Rx Time: 00:02:42
Last Msg Tx Time: 00:00:09
Last Rcvd Cmd: ZEBRA_REDISTRIBUTE_ADD
Last Sent Cmd: ZEBRA_INTERFACE_UP

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
zebra/zserv.c