summaryrefslogtreecommitdiff
path: root/ospfclient/ospf_apiclient.c
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2017-01-24 21:35:08 +0100
committerDavid Lamparter <equinox@opensourcerouting.org>2017-02-07 17:19:11 +0100
commit0a3fc2a5df0d7896471a7daf2fcad2f9cd64d686 (patch)
treec30117ec4e8ac982c0bc74b9c167f2b0ff698f45 /ospfclient/ospf_apiclient.c
parent50b05f3c3dc197c0ba6f795b99b351b890a568ee (diff)
ospfd: isolate ospfapiclient lib from ospf lib
The OSPF API-client library doesn't really use anything from libospf except some small dumping tools. Isolate these into a separate file and detangle the ospfapiclient library. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'ospfclient/ospf_apiclient.c')
-rw-r--r--ospfclient/ospf_apiclient.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ospfclient/ospf_apiclient.c b/ospfclient/ospf_apiclient.c
index 453e05ce2e..1590b65384 100644
--- a/ospfclient/ospf_apiclient.c
+++ b/ospfclient/ospf_apiclient.c
@@ -49,7 +49,8 @@
#include "ospf_apiclient.h"
-DEFINE_MTYPE_STATIC(OSPFD, OSPF_APICLIENT, "OSPF-API client")
+DEFINE_MGROUP(OSPFCLIENT, "libospfapiclient")
+DEFINE_MTYPE_STATIC(OSPFCLIENT, OSPF_APICLIENT, "OSPF-API client")
/* Backlog for listen */
#define BACKLOG 5