summaryrefslogtreecommitdiffstats
path: root/zebra/irdp_interface.c
diff options
context:
space:
mode:
authorMark Stapp <mjs@labn.net>2022-12-02 17:10:58 +0100
committerMark Stapp <mjs@labn.net>2022-12-05 16:55:35 +0100
commitc0ce4875ff6a3ab96faddc3b0634729c1ec5a5b1 (patch)
tree8f5f52fa5f06f047fcd9aaf228f15bf83792f462 /zebra/irdp_interface.c
parentlib: use specific MTYPE for interface descriptions (diff)
downloadfrr-c0ce4875ff6a3ab96faddc3b0634729c1ec5a5b1.tar.xz
frr-c0ce4875ff6a3ab96faddc3b0634729c1ec5a5b1.zip
zebra: use real MTYPEs for various objects
Don't use MTYPE_TMP for many things in zebra: add specific mem types. Signed-off-by: Mark Stapp <mjs@labn.net>
Diffstat (limited to 'zebra/irdp_interface.c')
-rw-r--r--zebra/irdp_interface.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/zebra/irdp_interface.c b/zebra/irdp_interface.c
index 28db2ad87..36852b65b 100644
--- a/zebra/irdp_interface.c
+++ b/zebra/irdp_interface.c
@@ -200,12 +200,12 @@ static void if_set_defaults(struct irdp_interface *irdp)
static struct Adv *Adv_new(void)
{
- return XCALLOC(MTYPE_TMP, sizeof(struct Adv));
+ return XCALLOC(MTYPE_IRDP_IF, sizeof(struct Adv));
}
static void Adv_free(struct Adv *adv)
{
- XFREE(MTYPE_TMP, adv);
+ XFREE(MTYPE_IRDP_IF, adv);
}
static void irdp_if_start(struct interface *ifp, int multicast,