summaryrefslogtreecommitdiff
path: root/lib/command.c
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2016-11-13 16:02:23 +0900
committerDavid Lamparter <equinox@opensourcerouting.org>2017-03-07 23:07:20 +0100
commit4f04a76b717fc4881a547f582a02a4d06d356c47 (patch)
tree90951be570b6de3889da7c5358b1fe2f998d4acd /lib/command.c
parentae6ba9ba043652bde3b0000f5299eff31d351ee3 (diff)
*: add frr_init() infrastructure
Start centralising startup & option parsing into the library. FRR_DAEMON_INFO is a bit weird, but it will become useful later (e.g. for killing the ZLOG_* enum, and having the daemon name available) Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'lib/command.c')
-rw-r--r--lib/command.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/command.c b/lib/command.c
index 50976f2010..d87381f1ef 100644
--- a/lib/command.c
+++ b/lib/command.c
@@ -2726,7 +2726,6 @@ cmd_init (int terminal)
vrf_install_commands ();
}
- srandom(time(NULL));
#ifdef DEV_BUILD
grammar_sandbox_init();