summaryrefslogtreecommitdiffstats
path: root/babeld/babel_interface.c
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@diac24.net>2019-06-21 08:14:58 +0200
committerDavid Lamparter <equinox@diac24.net>2019-06-21 08:54:25 +0200
commit8b7454e9c2c6a54588657f6376ea3e1ead4bfc90 (patch)
treea4af7550e91cfc445650c2db6a33994f953f1b3f /babeld/babel_interface.c
parentzebra: use MTYPE_STATIC (diff)
downloadfrr-8b7454e9c2c6a54588657f6376ea3e1ead4bfc90.tar.xz
frr-8b7454e9c2c6a54588657f6376ea3e1ead4bfc90.zip
babeld: use MTYPE_STATIC
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'babeld/babel_interface.c')
-rw-r--r--babeld/babel_interface.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/babeld/babel_interface.c b/babeld/babel_interface.c
index b84bc39cd..0eeb9b2bb 100644
--- a/babeld/babel_interface.c
+++ b/babeld/babel_interface.c
@@ -39,9 +39,10 @@ THE SOFTWARE.
#include "neighbour.h"
#include "route.h"
#include "xroute.h"
-#include "babel_memory.h"
#include "babel_errors.h"
+DEFINE_MTYPE_STATIC(BABELD, BABEL_IF, "Babel Interface")
+
#define IS_ENABLE(ifp) (babel_enable_if_lookup(ifp->name) >= 0)
static int babel_enable_if_lookup (const char *ifname);