summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@diac24.net>2019-08-01 18:49:50 +0200
committerDavid Lamparter <equinox@diac24.net>2019-12-06 15:13:32 +0100
commitc572fbfe2d928c275e4dece74e7872f3f87726bd (patch)
tree247fcf4c8fc44e8448f3db5638610f1fa397fb8c /lib
parentospfd: remove minor WTF in instance creation (diff)
downloadfrr-c572fbfe2d928c275e4dece74e7872f3f87726bd.tar.xz
frr-c572fbfe2d928c275e4dece74e7872f3f87726bd.zip
ospfd: use new defaults mechanism (v2)
Some preprocessor constants converted to enums to make the names usable in the preprocessor. v2: better isolation between core and vty code to make future northbound conversion easier. Signed-off-by: David Lamparter <equinox@diac24.net>
Diffstat (limited to 'lib')
-rw-r--r--lib/defaults.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/lib/defaults.h b/lib/defaults.h
index 4ccdfb5c1..7cdd18120 100644
--- a/lib/defaults.h
+++ b/lib/defaults.h
@@ -18,24 +18,10 @@
#ifndef _FRR_DEFAULTS_H
#define _FRR_DEFAULTS_H
-#include "config.h"
-
#include <stdbool.h>
#include "compiler.h"
-#ifdef HAVE_DATACENTER
-
-#define DFLT_OSPF_LOG_ADJACENCY_CHANGES 1
-#define DFLT_OSPF6_LOG_ADJACENCY_CHANGES 1
-
-#else /* !HAVE_DATACENTER */
-
-#define DFLT_OSPF_LOG_ADJACENCY_CHANGES 0
-#define DFLT_OSPF6_LOG_ADJACENCY_CHANGES 0
-
-#endif /* !HAVE_DATACENTER */
-
/* frr_default wraps information about a default that has different
* values depending on FRR version or default-set
*