]> git.puffer.fish Git - matthieu/frr.git/commit
ospfd: Adding SUPPORT_OSPF_API define in ospf_spf.c
authorMichal Ruprich <michalruprich@gmail.com>
Tue, 6 Sep 2022 10:25:01 +0000 (12:25 +0200)
committerMichal Ruprich <michalruprich@gmail.com>
Tue, 6 Sep 2022 10:34:15 +0000 (12:34 +0200)
commitec3bb054c331f9d928ac21a1747e0f921b51dfbc
treed9901123a3e022f9dc59c3e76d9aa0e5b5c62f2d
parent451cebeec2be37e7c35ee8d93243ba5127885c24
ospfd: Adding SUPPORT_OSPF_API define in ospf_spf.c

It is not possible to build ospf_spf.c file with --disable-ospfapi because
ospf_apiserver.c has SUPPORT_OSPF_API around all function definitions and
that results in an undefined reference to the ospf_apiserver_notify_reachable
function error while building.

Signed-off-by: Michal Ruprich <mruprich@redhat.com>
ospfd/ospf_spf.c