mirror of
https://github.com/FRRouting/frr.git
synced 2025-04-30 13:37:17 +02:00
Merge pull request #18342 from anlancs/ospfd-minor-change
ospfd: minor change for style
This commit is contained in:
commit
27a504fcef
|
@ -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"
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue