summaryrefslogtreecommitdiff
path: root/ospfd/ospf_lsa.h
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2015-12-16 14:22:10 -0500
committerDonald Sharp <sharpd@cumulusnetwroks.com>2016-08-16 12:43:05 -0400
commitcd66cd4ce103aef4dd357dbab1d150cd16f8edd4 (patch)
tree630ec686b8080798d9443b750eaf0b2a8a2eee15 /ospfd/ospf_lsa.h
parent039f3a3495b9b19e486d296de57a8ba46f9a8c87 (diff)
ospfd: Remove HAVE_OPAQUE_LSA
HAVE_OPAQUE_LSA is used by default and you have to actively turn it off except that OPAQUE_LSA is an industry standard and used pretty much everywhere. There is no need to have special #defines for this anymore. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com> (cherry picked from commit 36fef5708d074a3ef41f34d324c309c45bae119b)
Diffstat (limited to 'ospfd/ospf_lsa.h')
-rw-r--r--ospfd/ospf_lsa.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/ospfd/ospf_lsa.h b/ospfd/ospf_lsa.h
index f2c08b1b93..b3d72109d6 100644
--- a/ospfd/ospf_lsa.h
+++ b/ospfd/ospf_lsa.h
@@ -27,11 +27,7 @@
/* OSPF LSA Range definition. */
#define OSPF_MIN_LSA 1 /* begin range here */
-#if defined (HAVE_OPAQUE_LSA)
#define OSPF_MAX_LSA 12
-#else
-#define OSPF_MAX_LSA 8
-#endif
/* OSPF LSA Type definition. */
#define OSPF_UNKNOWN_LSA 0
@@ -211,9 +207,7 @@ struct as_external_lsa
} e[1];
};
-#ifdef HAVE_OPAQUE_LSA
#include "ospfd/ospf_opaque.h"
-#endif /* HAVE_OPAQUE_LSA */
/* Macros. */
#define GET_METRIC(x) get_metric(x)