summaryrefslogtreecommitdiff
path: root/ripd/ripd.c
diff options
context:
space:
mode:
Diffstat (limited to 'ripd/ripd.c')
-rw-r--r--ripd/ripd.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/ripd/ripd.c b/ripd/ripd.c
index 8032cf2ec5..e6680ea7db 100644
--- a/ripd/ripd.c
+++ b/ripd/ripd.c
@@ -2802,15 +2802,9 @@ DEFUN_NOSH (router_rip,
"Enable a routing process\n"
"Routing Information Protocol (RIP)\n")
{
- int ret;
-
/* If rip is not enabled before. */
if (!rip) {
- ret = rip_create();
- if (ret < 0) {
- zlog_info("Can't create RIP");
- return CMD_WARNING_CONFIG_FAILED;
- }
+ rip_create();
}
VTY_PUSH_CONTEXT(RIP_NODE, rip);