forked from Mirror/frr
ospfd: cosmetic change for one command
Just use the same style for all `DEFPY`s. It is a cosmetic change, doesn't affect the actual function. Signed-off-by: anlan_cs <anlan_cs@126.com>
This commit is contained in:
parent
575dfe4422
commit
3af15029db
|
@ -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