]> git.puffer.fish Git - mirror/frr.git/commit
ospf: fix apiserver enable
authorDavid Lamparter <equinox@opensourcerouting.org>
Tue, 4 Dec 2012 19:11:41 +0000 (11:11 -0800)
committerScott Feldman <sfeldma@cumulusnetworks.com>
Mon, 7 Jan 2013 17:59:46 +0000 (09:59 -0800)
commit822d8f55199c0aee32c64f91532f637694d30e11
treedb881758131d63c95b0bca943ba52e2b33228236
parent2345a2221aa0a02b96846beab6088815f41e791b
ospf: fix apiserver enable

The ospf_apiserver_enable flag was being cleared _after_ the "-a"
command-line option set it to 1.  Move up the initialisation, so
enabling the OSPF API is actually possible.

Reported-by: Rosario Mattera <rosmattera@gmail.com>
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Signed-off-by: Scott Feldman <sfeldma@cumulusnetworks.com>
ospfd/ospf_main.c