]> git.proxmox.com Git - mirror_frr.git/commit - bgpd/bgp_io.c
bgpd: properly set peer->last_update
authorQuentin Young <qlyoung@cumulusnetworks.com>
Mon, 6 Nov 2017 06:41:27 +0000 (01:41 -0500)
committerQuentin Young <qlyoung@cumulusnetworks.com>
Thu, 30 Nov 2017 21:18:06 +0000 (16:18 -0500)
commit5c075a907dee4776236d71c5c89eabf5e6e0f2b3
tree97619e44997ce6ffcad20c1110cd89bd82a450ca
parent7a86aa5a0a537dd2fb7103658bd123b996e89dcc
bgpd: properly set peer->last_update

Instead of checking whether the post-write number of updates sent was
greater than the pre-write number of updates sent, it was comparing post
to zero. In effect this meant every time we wrote a packet it was
counted as an update for route advertisement timer purposes.

Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
bgpd/bgp_io.c