mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-16 00:25:01 +00:00
vtysh: fix "no log facility" command
Actual command from the library accepts only supported facilities, not any random word. Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
This commit is contained in:
parent
463ef4b2a7
commit
ceec5a1033
@ -2548,10 +2548,11 @@ DEFUNSH(VTYSH_ALL, vtysh_log_facility, vtysh_log_facility_cmd,
|
|||||||
}
|
}
|
||||||
|
|
||||||
DEFUNSH(VTYSH_ALL, no_vtysh_log_facility, no_vtysh_log_facility_cmd,
|
DEFUNSH(VTYSH_ALL, no_vtysh_log_facility, no_vtysh_log_facility_cmd,
|
||||||
"no log facility [FACILITY]", NO_STR
|
"no log facility [<kern|user|mail|daemon|auth|syslog|lpr|news|uucp|cron|local0|local1|local2|local3|local4|local5|local6|local7>]",
|
||||||
|
NO_STR
|
||||||
"Logging control\n"
|
"Logging control\n"
|
||||||
"Reset syslog facility to default (daemon)\n"
|
"Reset syslog facility to default (daemon)\n"
|
||||||
"Syslog facility\n")
|
LOG_FACILITY_DESC)
|
||||||
{
|
{
|
||||||
return CMD_SUCCESS;
|
return CMD_SUCCESS;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user