Merge pull request #18342 from anlancs/ospfd-minor-change

ospfd: minor change for style
This commit is contained in:
Russ White 2025-03-11 10:33:41 -04:00 committed by GitHub
commit 27a504fcef
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 7 additions and 8 deletions

View file

@ -485,7 +485,6 @@ struct cmd_node {
/* Graceful Restart cli help strings */
#define GR_CMD "Global Graceful Restart command\n"
#define NO_GR_CMD "Undo Global Graceful Restart command\n"
#define GR "Global Graceful Restart - GR Mode\n"
#define GR_DISABLE "Global Graceful Restart - Disable Mode\n"
#define NO_GR_DISABLE "Undo Global Graceful Restart - Disable Mode\n"
#define GR_DEBUG "Graceful Restart - Enable Debug Logs\n"

View file

@ -1509,16 +1509,16 @@ DEFPY (debug_ospf_gr,
if (vty->node == CONFIG_NODE) {
if (no)
CONF_DEBUG_OFF(gr, GR);
DEBUG_OFF(gr, GR);
else
CONF_DEBUG_ON(gr, GR);
DEBUG_ON(gr, GR);
} else {
if (no)
TERM_DEBUG_OFF(gr, GR);
else
TERM_DEBUG_ON(gr, GR);
}
if (no)
TERM_DEBUG_OFF(gr, GR);
else
TERM_DEBUG_ON(gr, GR);
return CMD_SUCCESS;
}