]> 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, 18 Jun 2023 18:02:47 +0000 (14:02 -0400)
commitbabbdd43d5319dd370672f794a44f33bdcdc36e5
treea2300f5066d25d4f276b31516960b7b6687b9a41
parent2b21ec2c4983a3219881c3dd16b61ae9560e9b26
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