diff options
author | Donald Sharp <sharpd@cumulusnetworks.com> | 2015-12-16 20:22:10 +0100 |
---|---|---|
committer | Donald Sharp <sharpd@cumulusnetwroks.com> | 2016-08-16 18:43:05 +0200 |
commit | cd66cd4ce103aef4dd357dbab1d150cd16f8edd4 (patch) | |
tree | 630ec686b8080798d9443b750eaf0b2a8a2eee15 /ospfd/ospf_lsa.h | |
parent | lib, bgpd, tests: Refactor FILTER_X in zebra.h (diff) | |
download | frr-cd66cd4ce103aef4dd357dbab1d150cd16f8edd4.tar.xz frr-cd66cd4ce103aef4dd357dbab1d150cd16f8edd4.zip |
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.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/ospfd/ospf_lsa.h b/ospfd/ospf_lsa.h index f2c08b1b9..b3d72109d 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) |