diff options
author | Dinesh Dutt <ddutt@cumulusnetworks.com> | 2013-10-23 02:42:18 +0200 |
---|---|---|
committer | David Lamparter <equinox@opensourcerouting.org> | 2013-10-23 03:01:31 +0200 |
commit | 8551e6dadce41fb87a61767af723cb25ae611a04 (patch) | |
tree | cb0854c2e216989a0fa211d56d2bf6fd6948b2d6 /ospf6d/ospf6_lsa.h | |
parent | build: fix tests/prng.h missing from dist (diff) | |
download | frr-8551e6dadce41fb87a61767af723cb25ae611a04.tar.xz frr-8551e6dadce41fb87a61767af723cb25ae611a04.zip |
ospf6d/ospfd: refactor some common defines
Rearranging common defs and structures for use betweeen OSPFv2 and
OSPFv3. Created a new file called libospf.h under lib directory to
hold defines that are common between OSPFv2 and OSPFv3 code bases.
[DL: split of defines refactor from timer refactor]
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'ospf6d/ospf6_lsa.h')
-rw-r--r-- | ospf6d/ospf6_lsa.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ospf6d/ospf6_lsa.h b/ospf6d/ospf6_lsa.h index 263411fc7..f10ee671b 100644 --- a/ospf6d/ospf6_lsa.h +++ b/ospf6d/ospf6_lsa.h @@ -107,7 +107,7 @@ struct ospf6_lsa_header ((L)->header->adv_router == (a) && (L)->header->id == (i) && \ (L)->header->type == (t)) #define OSPF6_LSA_IS_DIFFER(L1, L2) ospf6_lsa_is_differ (L1, L2) -#define OSPF6_LSA_IS_MAXAGE(L) (ospf6_lsa_age_current (L) == MAXAGE) +#define OSPF6_LSA_IS_MAXAGE(L) (ospf6_lsa_age_current (L) == OSPF_LSA_MAXAGE) #define OSPF6_LSA_IS_CHANGED(L1, L2) ospf6_lsa_is_changed (L1, L2) struct ospf6_lsa |