summaryrefslogtreecommitdiffstats
path: root/bgpd
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2016-12-16 08:12:54 +0100
committerDavid Lamparter <equinox@opensourcerouting.org>2016-12-16 20:42:01 +0100
commit0e64d123fd50cb8c45ad32a209f10173bdb65c4d (patch)
tree3308779eccc0d485d6b16a47059f6d001c86b29b /bgpd
parentlib: parser: reorder bison incarnations (diff)
downloadfrr-0e64d123fd50cb8c45ad32a209f10173bdb65c4d.tar.xz
frr-0e64d123fd50cb8c45ad32a209f10173bdb65c4d.zip
bgpd: shuffle qobj_init()
bgp_master_init is called first thing in main(), so we need to wedge a qobj_init() call in there... this needs some improvement... Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'bgpd')
-rw-r--r--bgpd/bgpd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/bgpd/bgpd.c b/bgpd/bgpd.c
index 5ed630b49..30f6e0d85 100644
--- a/bgpd/bgpd.c
+++ b/bgpd/bgpd.c
@@ -7477,6 +7477,8 @@ bgp_config_write (struct vty *vty)
void
bgp_master_init (void)
{
+ qobj_init ();
+
memset (&bgp_master, 0, sizeof (struct bgp_master));
bm = &bgp_master;