Merge pull request #847 from donaldsharp/cmd_success

Cmd success
This commit is contained in:
David Lamparter 2017-07-25 16:23:48 +02:00 committed by GitHub
commit d5eb795965
2 changed files with 6 additions and 6 deletions

View File

@ -66,7 +66,7 @@ DEFUN (debug_rip_events,
"RIP events\n")
{
rip_debug_event = RIP_DEBUG_EVENT;
return CMD_WARNING_CONFIG_FAILED;
return CMD_SUCCESS;
}
DEFUN (debug_rip_packet,
@ -112,7 +112,7 @@ DEFUN (debug_rip_zebra,
"RIP and ZEBRA communication\n")
{
rip_debug_zebra = RIP_DEBUG_ZEBRA;
return CMD_WARNING_CONFIG_FAILED;
return CMD_SUCCESS;
}
DEFUN (no_debug_rip_events,
@ -177,7 +177,7 @@ DEFUN (no_debug_rip_zebra,
"RIP and ZEBRA communication\n")
{
rip_debug_zebra = 0;
return CMD_WARNING_CONFIG_FAILED;
return CMD_SUCCESS;
}
/* Debug node. */

View File

@ -67,7 +67,7 @@ DEFUN (debug_ripng_events,
"Debug option set for ripng events\n")
{
ripng_debug_event = RIPNG_DEBUG_EVENT;
return CMD_WARNING_CONFIG_FAILED;
return CMD_SUCCESS;
}
DEFUN (debug_ripng_packet,
@ -114,7 +114,7 @@ DEFUN (debug_ripng_zebra,
"Debug option set for ripng and zebra communication\n")
{
ripng_debug_zebra = RIPNG_DEBUG_ZEBRA;
return CMD_WARNING_CONFIG_FAILED;
return CMD_SUCCESS;
}
DEFUN (no_debug_ripng_events,
@ -179,7 +179,7 @@ DEFUN (no_debug_ripng_zebra,
"Debug option set for ripng and zebra communication\n")
{
ripng_debug_zebra = 0;
return CMD_WARNING_CONFIG_FAILED;
return CMD_SUCCESS;
}
/* Debug node. */