summaryrefslogtreecommitdiffstats
path: root/ospfclient
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2016-07-28 17:23:49 +0200
committerDonald Sharp <sharpd@cumulusnetwroks.com>2016-07-28 13:27:48 +0200
commitc66f9c6186acb837a4fab441469a26b406f08e37 (patch)
tree55cccc9eedfbfdd8e2b424f4cac1535c7472fa3b /ospfclient
parentpimd: relegate pim_igmp_join.c into a header file (diff)
downloadfrr-c66f9c6186acb837a4fab441469a26b406f08e37.tar.xz
frr-c66f9c6186acb837a4fab441469a26b406f08e37.zip
*: get rid of "MTYPE 0"
A few places are using 0 in place of the MTYPE_* argument. The following rewrite of the alloc tracking won't deal with that, so let's use MTYPE_TMP instead. Acked-by: Vincent JARDIN <vincent.jardin@6wind.com> Acked-by: Donald Sharp <sharpd@cumulusnetworks.com> [DL: v2: fix XFREE(0, foo) calls too] Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'ospfclient')
-rw-r--r--ospfclient/ospf_apiclient.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ospfclient/ospf_apiclient.h b/ospfclient/ospf_apiclient.h
index 0e74787ae..809861995 100644
--- a/ospfclient/ospf_apiclient.h
+++ b/ospfclient/ospf_apiclient.h
@@ -23,7 +23,7 @@
#ifndef _OSPF_APICLIENT_H
#define _OSPF_APICLIENT_H
-#define MTYPE_OSPF_APICLIENT 0
+#define MTYPE_OSPF_APICLIENT MTYPE_TMP
/* Structure for the OSPF API client */
struct ospf_apiclient