summaryrefslogtreecommitdiff
path: root/ospfd/ospf_lsa.h
diff options
context:
space:
mode:
authorhasso <hasso>2004-06-20 21:00:27 +0000
committerhasso <hasso>2004-06-20 21:00:27 +0000
commitbeebba75167b33e05b5e02a41179ad0c13a0bcd7 (patch)
tree83b72a338e29f7f6cff2b83fd2c71e8615f9f8e5 /ospfd/ospf_lsa.h
parent320ec10a24d8dd81d0aa011dc92e07877e4e02f8 (diff)
Remove ifdef's HAVE_NSSA. NSSA support is stable enough.
Diffstat (limited to 'ospfd/ospf_lsa.h')
-rw-r--r--ospfd/ospf_lsa.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/ospfd/ospf_lsa.h b/ospfd/ospf_lsa.h
index 021d6a48..6d60b579 100644
--- a/ospfd/ospf_lsa.h
+++ b/ospfd/ospf_lsa.h
@@ -27,10 +27,8 @@
#define OSPF_MIN_LSA 1 /* begin range here */
#if defined (HAVE_OPAQUE_LSA)
#define OSPF_MAX_LSA 12
-#elif defined (HAVE_NSSA)
-#define OSPF_MAX_LSA 8
#else
-#define OSPF_MAX_LSA 6
+#define OSPF_MAX_LSA 8
#endif
/* OSPF LSA Type definition. */
@@ -77,9 +75,7 @@ struct ospf_lsa
#define OSPF_LSA_RECEIVED 0x04
#define OSPF_LSA_APPROVED 0x08
#define OSPF_LSA_DISCARD 0x10
-#ifdef HAVE_NSSA
#define OSPF_LSA_LOCAL_XLT 0x20
-#endif /* HAVE_NSSA */
#define OSPF_LSA_PREMATURE_AGE 0x40
/* LSA data. */
@@ -320,12 +316,10 @@ int is_prefix_default (struct prefix_ipv4 *);
int metric_type (struct ospf *, u_char);
int metric_value (struct ospf *, u_char);
-#ifdef HAVE_NSSA
struct in_addr ospf_get_nssa_ip (struct ospf_area *);
int ospf_translated_nssa_compare (struct ospf_lsa *, struct ospf_lsa *);
struct ospf_lsa *ospf_translated_nssa_refresh (struct ospf *, struct ospf_lsa *,
struct ospf_lsa *);
struct ospf_lsa *ospf_translated_nssa_originate (struct ospf *, struct ospf_lsa *);
-#endif
#endif /* _ZEBRA_OSPF_LSA_H */