summaryrefslogtreecommitdiff
path: root/zebra/zebra_router.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2023-04-27 07:37:58 -0400
committerDonald Sharp <sharpd@nvidia.com>2023-07-05 11:49:36 -0400
commitc3c9683f99c004ea88f519e6dc023c79ebb4f4d9 (patch)
tree462b6db5130f48da8a80de2b51d5f1478cd9c9db /zebra/zebra_router.c
parent6a3ae11c9b1480966b22d4f9b67a40b76d96aa15 (diff)
zebra: Move protodown_r_bit to a better spot
Since we are moving some code handling out of the dataplane and into zebra proper, lets move the protodown r bit as well. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'zebra/zebra_router.c')
-rw-r--r--zebra/zebra_router.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/zebra/zebra_router.c b/zebra/zebra_router.c
index a477287913..1b3e31ee42 100644
--- a/zebra/zebra_router.c
+++ b/zebra/zebra_router.c
@@ -259,6 +259,8 @@ void zebra_router_init(bool asic_offload, bool notify_on_ack)
{
zrouter.sequence_num = 0;
+ zrouter.protodown_r_bit = FRR_PROTODOWN_REASON_DEFAULT_BIT;
+
zrouter.allow_delete = false;
zrouter.packets_to_process = ZEBRA_ZAPI_PACKETS_TO_PROCESS;