diff options
author | Dinesh Dutt <ddutt@cumulusnetworks.com> | 2013-10-22 17:42:18 -0700 |
---|---|---|
committer | David Lamparter <equinox@opensourcerouting.org> | 2013-10-22 18:01:31 -0700 |
commit | 8551e6dadce41fb87a61767af723cb25ae611a04 (patch) | |
tree | cb0854c2e216989a0fa211d56d2bf6fd6948b2d6 /ospf6d/ospf6_lsdb.c | |
parent | a83a1e9c2f035d3152451dcfc97ab13b4ac427b9 (diff) | |
download | quagga-8551e6dadce41fb87a61767af723cb25ae611a04.tar.bz2 quagga-8551e6dadce41fb87a61767af723cb25ae611a04.tar.xz |
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_lsdb.c')
-rw-r--r-- | ospf6d/ospf6_lsdb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ospf6d/ospf6_lsdb.c b/ospf6d/ospf6_lsdb.c index 280bdf95..7455d835 100644 --- a/ospf6d/ospf6_lsdb.c +++ b/ospf6d/ospf6_lsdb.c @@ -572,7 +572,7 @@ ospf6_new_ls_seqnum (u_int16_t type, u_int32_t id, u_int32_t adv_router, /* if current database copy not found, return InitialSequenceNumber */ lsa = ospf6_lsdb_lookup (type, id, adv_router, lsdb); if (lsa == NULL) - seqnum = INITIAL_SEQUENCE_NUMBER; + seqnum = OSPF_INITIAL_SEQUENCE_NUMBER; else seqnum = (signed long) ntohl (lsa->header->seqnum) + 1; |