]> git.ipfire.org Git - thirdparty/bird.git/commit
OSPF: Fix bad initialization of tx_hdrlen field
authorOndrej Zajicek (work) <santiago@crfreenet.org>
Thu, 9 Jan 2020 01:59:59 +0000 (02:59 +0100)
committerOndrej Zajicek (work) <santiago@crfreenet.org>
Thu, 9 Jan 2020 02:02:15 +0000 (03:02 +0100)
commit9f2670277cc0d56d3364d4784348056174175aba
treebebaba3e4493adc4b30ddaeec2db8b729702545d
parent7d767c5a3d001a6a1a5c3e800553202fd492190c
OSPF: Fix bad initialization of tx_hdrlen field

Function ifa_tx_hdrlen() uses fields autype and passwords, so it must be
called after these are set.

Thanks to Kenth Eriksson for the bugreport.
proto/ospf/iface.c