mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-13 19:02:58 +00:00
zebra: include zebra nexthop debug in show runn
Add show output for 'debug zebra nexthop [detail]' category. Signed-off-by: Mark Stapp <mjs@voltanet.io>
This commit is contained in:
parent
d26e2d9be4
commit
cb6070bd79
@ -557,6 +557,14 @@ static int config_write_debug(struct vty *vty)
|
|||||||
write++;
|
write++;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (CHECK_FLAG(zebra_debug_nexthop, ZEBRA_DEBUG_NHG_DETAILED)) {
|
||||||
|
vty_out(vty, "debug zebra nexthop detail\n");
|
||||||
|
write++;
|
||||||
|
} else if (CHECK_FLAG(zebra_debug_nexthop, ZEBRA_DEBUG_NHG)) {
|
||||||
|
vty_out(vty, "debug zebra nexthop\n");
|
||||||
|
write++;
|
||||||
|
}
|
||||||
|
|
||||||
return write;
|
return write;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user