]> git.puffer.fish Git - matthieu/frr.git/commit
ospf6d: Fix double increment of Sequence Number
authorDonald Sharp <sharpd@cumulusnetworks.com>
Thu, 14 Jan 2016 14:19:29 +0000 (09:19 -0500)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Tue, 19 Jan 2016 00:27:45 +0000 (16:27 -0800)
commit385f703b16874a97e9edd93c0ece5e74535d0c6b
treeaa705480d4acf2e02fd6ef18212b2cbab52abc46
parent4543bbb45ed250f2a6e63ada7d248e2167d02c66
ospf6d: Fix double increment of Sequence Number

When OSPF6 is creating the header for the ROUTER LSA type
if the packet being sent has interface information to add
to the data, the Sequence Number is at least double incremented.

This change moves the header creation to outside the loop over
all interfaces in the area.  Additionally the header is created
at the bottom of the function now.

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