diff options
author | hasso <hasso> | 2004-12-22 16:16:02 +0000 |
---|---|---|
committer | hasso <hasso> | 2004-12-22 16:16:02 +0000 |
commit | ff973075e989102a91032a504b0e92591b2eb05a (patch) | |
tree | 2d18edab673fc5975f6f82cb74d2d94e4004ab8b /ospfd/ospf_lsa.c | |
parent | a267cb811a60387aebc60848dff8380b3f8aee14 (diff) | |
download | quagga-ff973075e989102a91032a504b0e92591b2eb05a.tar.bz2 quagga-ff973075e989102a91032a504b0e92591b2eb05a.tar.xz |
Show sums of checksums in "show ip ospf" output. Okayed by Paul and James
R. Leu (author of original idea).
Diffstat (limited to 'ospfd/ospf_lsa.c')
-rw-r--r-- | ospfd/ospf_lsa.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ospfd/ospf_lsa.c b/ospfd/ospf_lsa.c index b237adbc..fbc56e15 100644 --- a/ospfd/ospf_lsa.c +++ b/ospfd/ospf_lsa.c @@ -2654,14 +2654,14 @@ ospf_lsa_install (struct ospf *ospf, struct ospf_interface *oi, if (old != NULL) ospf_discard_from_db (ospf, lsdb, lsa); - /* Insert LSA to LSDB. */ - ospf_lsdb_add (lsdb, lsa); - lsa->lsdb = lsdb; - /* Calculate Checksum if self-originated?. */ if (IS_LSA_SELF (lsa)) ospf_lsa_checksum (lsa->data); + /* Insert LSA to LSDB. */ + ospf_lsdb_add (lsdb, lsa); + lsa->lsdb = lsdb; + /* Do LSA specific installation process. */ switch (lsa->data->type) { |