]> git.puffer.fish Git - matthieu/frr.git/commit
ospf6d: increment dbdesc seqnum on SeqNumberMismatch/BadLsReq event
authorDinesh Dutt <ddutt@cumulusnetworks.com>
Sun, 25 Aug 2013 03:03:15 +0000 (03:03 +0000)
committerDavid Lamparter <equinox@opensourcerouting.org>
Fri, 8 Nov 2013 02:15:43 +0000 (18:15 -0800)
commit931b1b8c9a612665391ed43653c970fcb38bbbf0
tree570f2aca4df8ef6a394925c5a1b7c9e772d3d1a1
parent7a10a359e9740710c1e39c8be0f761f506795480
ospf6d: increment dbdesc seqnum on SeqNumberMismatch/BadLsReq event

As per RFC 2328, section 10.3, if the neighbor state machine reaches
SeqNumberMismatch state when the NSM is in state Exchange or greater,
"router increments the DD sequence number in the neighbor data structure,
declares itself master (sets the master/slave bit to master), and starts
sending Database Description Packets, with the initialize (I), more (M)
and master (MS) bits set.".

The existing code doesn't increment the DD SeqNum. This patch fixes that.

Signed-off-by: Dinesh G Dutt <ddutt at cumulusnetworks.com>
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
ospf6d/ospf6_neighbor.c