]> git.puffer.fish Git - mirror/frr.git/commit
lib: mgmtd: re-purpose is_short_circuit and fix depth variable inc/dec
authorChristian Hopps <chopps@labn.net>
Fri, 16 Jun 2023 11:19:53 +0000 (07:19 -0400)
committerChristian Hopps <chopps@labn.net>
Sun, 25 Jun 2023 08:46:54 +0000 (04:46 -0400)
commit286654d2dc7858b450c54b428452b617de2ec7e3
treeb7081fbe644fa0e0e3297a05f289d5c8e89531e4
parent0ea4297e3c3e55d3894820f9359215b6957fa213
lib: mgmtd: re-purpose is_short_circuit and fix depth variable inc/dec

`is_short_circuit` now is set to true when a message is being
short-circuit handled.

`short_circuit_depth` was being inc/dec inside conditional macro, move
that out of the macro.

Signed-off-by: Christian Hopps <chopps@labn.net>
lib/mgmt_msg.c
lib/mgmt_msg.h