summaryrefslogtreecommitdiffstats
path: root/bgpd/bgp_main.c
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2016-11-13 08:23:29 +0100
committerDavid Lamparter <equinox@opensourcerouting.org>2017-03-07 23:07:33 +0100
commit857b5446497505f582417e4a5ada029712743cbc (patch)
treef85db97816b73d4af9867a48ba839563922b3f45 /bgpd/bgp_main.c
parent*: add frr_init() infrastructure (diff)
downloadfrr-857b5446497505f582417e4a5ada029712743cbc.tar.xz
frr-857b5446497505f582417e4a5ada029712743cbc.zip
*: centralize more into frr_init()
Move CLI/VTY/Memory accounting init into frr_* Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'bgpd/bgp_main.c')
-rw-r--r--bgpd/bgp_main.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/bgpd/bgp_main.c b/bgpd/bgp_main.c
index 26605be54..fec7ed44f 100644
--- a/bgpd/bgp_main.c
+++ b/bgpd/bgp_main.c
@@ -456,9 +456,6 @@ main (int argc, char **argv)
bm->address = bgp_address;
/* Initializations. */
- cmd_init (1);
- vty_init (bm->master);
- memory_init ();
bgp_vrf_init ();
/* BGP related initialization. */