summaryrefslogtreecommitdiffstats
path: root/ospf6d/ospf6_spf.c
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@diac24.net>2021-03-22 19:31:56 +0100
committerDavid Lamparter <equinox@diac24.net>2021-03-22 19:31:56 +0100
commit30043e4ce2160cd8110b73beedf2e6b068794ac6 (patch)
tree0b32074eefaeba13043e5b2ca7f99a33456172fe /ospf6d/ospf6_spf.c
parentospf6d: split off ospf6_lsa_alloc() (diff)
downloadfrr-30043e4ce2160cd8110b73beedf2e6b068794ac6.tar.xz
frr-30043e4ce2160cd8110b73beedf2e6b068794ac6.zip
ospf6d: kill ospf6_memory.h, use MTYPE_STATIC
Same as other commits -- convert most DEFINE_MTYPE into the _STATIC variant, and move the remaining non-static ones to appropriate places. Signed-off-by: David Lamparter <equinox@diac24.net>
Diffstat (limited to 'ospf6d/ospf6_spf.c')
-rw-r--r--ospf6d/ospf6_spf.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ospf6d/ospf6_spf.c b/ospf6d/ospf6_spf.c
index d71f7629c..7652d71c5 100644
--- a/ospf6d/ospf6_spf.c
+++ b/ospf6d/ospf6_spf.c
@@ -43,6 +43,8 @@
#include "ospf6d.h"
#include "ospf6_abr.h"
+DEFINE_MTYPE_STATIC(OSPF6D, OSPF6_VERTEX, "OSPF6 vertex");
+
unsigned char conf_debug_ospf6_spf = 0;
static void ospf6_spf_copy_nexthops_to_route(struct ospf6_route *rt,