From c40e1b1cfbbf8db7b03f9faa51afbea8cda722c3 Mon Sep 17 00:00:00 2001 From: Stephen Worley Date: Wed, 19 Jan 2022 14:36:10 -0500 Subject: zebra: add command for setting protodown bit Add command for use to set protodown via frr.conf in the case our default conflicts with another application they are using. Signed-off-by: Stephen Worley --- zebra/kernel_netlink.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'zebra/kernel_netlink.c') diff --git a/zebra/kernel_netlink.c b/zebra/kernel_netlink.c index 60bce6e03f..0dd76e3253 100644 --- a/zebra/kernel_netlink.c +++ b/zebra/kernel_netlink.c @@ -210,6 +210,10 @@ int netlink_config_write_helper(struct vty *vty) vty_out(vty, "zebra kernel netlink batch-tx-buf %u %u\n", size, threshold); + if (if_netlink_frr_protodown_r_bit_is_set()) + vty_out(vty, "zebra protodown reason-bit %u\n", + if_netlink_get_frr_protodown_r_bit()); + return 0; } -- cgit v1.2.3