summaryrefslogtreecommitdiffstats
path: root/bfdd/config.c
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@diac24.net>2019-06-21 08:04:57 +0200
committerDavid Lamparter <equinox@diac24.net>2019-06-21 08:54:25 +0200
commit1b88c3cb4cff391c6d508b90e78a5feb729f0d7b (patch)
treea440418754a59c74c2c79883f6d8376cbcc3f0e1 /bfdd/config.c
parentlib: improve MTYPE definitions (diff)
downloadfrr-1b88c3cb4cff391c6d508b90e78a5feb729f0d7b.tar.xz
frr-1b88c3cb4cff391c6d508b90e78a5feb729f0d7b.zip
bfdd: use MTYPE_STATIC
MTYPE definitions should be local to the file using them whereever possible. Also remove some superfluous ; Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to '')
-rw-r--r--bfdd/config.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/bfdd/config.c b/bfdd/config.c
index 74e7d63d0..0c0bac0aa 100644
--- a/bfdd/config.c
+++ b/bfdd/config.c
@@ -30,6 +30,8 @@
#include "bfd.h"
+DEFINE_MTYPE_STATIC(BFDD, BFDD_LABEL, "long-lived label memory")
+
/*
* Definitions
*/