mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-07 07:48:07 +00:00
Merge pull request #12018 from pguibert6WIND/pathd_warning_noted
pathd: change the vty output, when no ted is enabled on pathd
This commit is contained in:
commit
bb4aca817a
@ -462,7 +462,7 @@ DEFPY (show_pathd_ted_db,
|
|||||||
json_object *json = NULL;
|
json_object *json = NULL;
|
||||||
|
|
||||||
if (!ted_state_g.enabled) {
|
if (!ted_state_g.enabled) {
|
||||||
vty_out(vty, "PATHD TED database is not enabled\n");
|
vty_out(vty, "Traffic Engineering database is not enabled\n");
|
||||||
return CMD_WARNING;
|
return CMD_WARNING;
|
||||||
}
|
}
|
||||||
if (strcmp(ver_json, "json") == 0) {
|
if (strcmp(ver_json, "json") == 0) {
|
||||||
|
Loading…
Reference in New Issue
Block a user