mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-10-19 19:54:42 +00:00
ripngd: Fix failure returned with some debug commands
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
This commit is contained in:
parent
92690ee649
commit
40e344cc4b
@ -67,7 +67,7 @@ DEFUN (debug_ripng_events,
|
|||||||
"Debug option set for ripng events\n")
|
"Debug option set for ripng events\n")
|
||||||
{
|
{
|
||||||
ripng_debug_event = RIPNG_DEBUG_EVENT;
|
ripng_debug_event = RIPNG_DEBUG_EVENT;
|
||||||
return CMD_WARNING_CONFIG_FAILED;
|
return CMD_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
DEFUN (debug_ripng_packet,
|
DEFUN (debug_ripng_packet,
|
||||||
@ -114,7 +114,7 @@ DEFUN (debug_ripng_zebra,
|
|||||||
"Debug option set for ripng and zebra communication\n")
|
"Debug option set for ripng and zebra communication\n")
|
||||||
{
|
{
|
||||||
ripng_debug_zebra = RIPNG_DEBUG_ZEBRA;
|
ripng_debug_zebra = RIPNG_DEBUG_ZEBRA;
|
||||||
return CMD_WARNING_CONFIG_FAILED;
|
return CMD_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
DEFUN (no_debug_ripng_events,
|
DEFUN (no_debug_ripng_events,
|
||||||
@ -179,7 +179,7 @@ DEFUN (no_debug_ripng_zebra,
|
|||||||
"Debug option set for ripng and zebra communication\n")
|
"Debug option set for ripng and zebra communication\n")
|
||||||
{
|
{
|
||||||
ripng_debug_zebra = 0;
|
ripng_debug_zebra = 0;
|
||||||
return CMD_WARNING_CONFIG_FAILED;
|
return CMD_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Debug node. */
|
/* Debug node. */
|
||||||
|
Loading…
Reference in New Issue
Block a user