summaryrefslogtreecommitdiffstats
path: root/ospfd/ospf_lsa.c
diff options
context:
space:
mode:
authorhasso <hasso>2004-12-22 16:16:02 +0000
committerhasso <hasso>2004-12-22 16:16:02 +0000
commitfe71a97da23e2282bc92f647227d5c97c73e3bc8 (patch)
treed812d9a1b98b0a1e9c1621194bf58dba097d6e3b /ospfd/ospf_lsa.c
parent16f6511e94c3765725b196aacaf6053385bca8a3 (diff)
downloadquagga-fe71a97da23e2282bc92f647227d5c97c73e3bc8.tar.bz2
quagga-fe71a97da23e2282bc92f647227d5c97c73e3bc8.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.c8
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)
{