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:
anlan_cs 2025-03-03 09:25:39 +08:00
parent 575dfe4422
commit 3af15029db

View file

@ -1509,15 +1509,15 @@ 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);
}
return CMD_SUCCESS;
}