Skip to content

Commit

Permalink
ripd: Fix debug config failures
Browse files Browse the repository at this point in the history
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
  • Loading branch information
donaldsharp committed Jul 24, 2017
1 parent 40e344c commit 9c9d843
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ripd/rip_debug.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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. */
Expand Down

0 comments on commit 9c9d843

Please sign in to comment.