]> git.puffer.fish Git - mirror/frr.git/commit
ospfd: fix invocation of ospfTrapNbrStateChange 7304/head
authorBabis Chalios <mail@bchalios.io>
Thu, 1 Oct 2020 09:07:54 +0000 (11:07 +0200)
committerBabis Chalios <mail@bchalios.io>
Thu, 15 Oct 2020 09:16:01 +0000 (11:16 +0200)
commit8ab046a480e8287e0451ed746bc1e37428816942
tree816c4287f97c4a1aedae6fdde6874cd366660652
parent36601e2046f3e9cf51e6b6b54e659e6f0ad01f94
ospfd: fix invocation of ospfTrapNbrStateChange

ospfNbrStateChange is generated when the state of neighbor regresses or
it progresses to a terminal state. When transitioning to or from Full
state on non-broadcast multi-access and broadcast networks the trap
should be sent by the designated router. This last condition was not
taken into account when checking for the conditions of generating the
trap.

Fixes volta/volta-stack#1811

Signed-off-by: Babis Chalios <mail@bchalios.io>
ospfd/ospf_snmp.c