@@ -386,7 +386,7 @@ uint8_t router_lsa_flags(struct ospf_area *area)
386386 /* Just sanity check */
387387 UNSET_FLAG (flags , ROUTER_LSA_VIRTUAL );
388388
389- /* Set Shortcut ABR behabiour flag. */
389+ /* Set Shortcut ABR behaviour flag. */
390390 UNSET_FLAG (flags , ROUTER_LSA_SHORTCUT );
391391 if (area -> ospf -> abr_type == OSPF_ABR_SHORTCUT )
392392 if (!OSPF_IS_AREA_BACKBONE (area ))
@@ -1099,7 +1099,7 @@ static struct ospf_lsa *ospf_network_lsa_new(struct ospf_interface *oi)
10991099
11001100 /* Remember prior network LSA sequence numbers, even if we stop
11011101 * originating one for this oi, to try avoid re-originating LSAs with a
1102- * prior sequence number, and thus speed up adjency forming &
1102+ * prior sequence number, and thus speed up adjacency forming &
11031103 * convergence.
11041104 */
11051105 if ((oip = ospf_lookup_if_params (oi -> ifp , oi -> address -> u .prefix4 ))) {
@@ -1301,7 +1301,7 @@ ospf_summary_lsa_prepare_and_flood(struct prefix_ipv4 *p, uint32_t metric,
13011301 if (!(new = ospf_summary_lsa_new (area , (struct prefix * )p , metric , id )))
13021302 return NULL ;
13031303
1304- /* Instlal LSA to LSDB. */
1304+ /* Install LSA to LSDB. */
13051305 new = ospf_lsa_install (area -> ospf , NULL , new );
13061306
13071307 /* Update LSA origination count. */
@@ -3014,7 +3014,7 @@ struct ospf_lsa *ospf_lsa_install(struct ospf *ospf, struct ospf_interface *oi,
30143014 /* Ref rfc3623 section 3.2.3
30153015 * Installing new lsa or change in the existing LSA
30163016 * or flushing existing LSA leads to topo change
3017- * and trigger SPF caculation .
3017+ * and trigger SPF calculation .
30183018 * So, router should be aborted from HELPER role
30193019 * if it is detected as TOPO change.
30203020 */
@@ -3909,10 +3909,10 @@ enum lsid_status ospf_lsa_unique_id(struct ospf *ospf, struct ospf_lsdb *lsdb,
39093909 if (lsa ) {
39103910 struct as_external_lsa * al =
39113911 (struct as_external_lsa * )lsa -> data ;
3912- /* Ref rfc2328,Appendex E.1
3912+ /* Ref rfc2328,Appendix E.1
39133913 * If router already originated the external lsa with lsid
39143914 * as the current prefix, and the masklens are same then
3915- * terminate the LSID algorithem .
3915+ * terminate the LSID algorithm .
39163916 */
39173917 if (ip_masklen (al -> mask ) == p -> prefixlen ) {
39183918 if (IS_DEBUG_OSPF (lsa , LSA_GENERATE ))
@@ -3923,7 +3923,7 @@ enum lsid_status ospf_lsa_unique_id(struct ospf *ospf, struct ospf_lsdb *lsdb,
39233923 id -> s_addr = 0xffffffff ;
39243924 return LSID_NOT_AVAILABLE ;
39253925 } else if (ip_masklen (al -> mask ) < p -> prefixlen ) {
3926- /* Ref rfc2328,Appendex E.2
3926+ /* Ref rfc2328,Appendix E.2
39273927 * the current prefix masklen is greater than the
39283928 * existing LSA, then generate the Link state ID,
39293929 * by setting all host bits in prefix addressa and
@@ -3946,7 +3946,7 @@ enum lsid_status ospf_lsa_unique_id(struct ospf *ospf, struct ospf_lsdb *lsdb,
39463946 return LSID_NOT_AVAILABLE ;
39473947 }
39483948 } else {
3949- /* Ref rfc2328,Appendex E.3
3949+ /* Ref rfc2328,Appendix E.3
39503950 * the current prefix masklen is lesser than the
39513951 * existing LSA,then the originated LSA has to be
39523952 * refreshed by modifying masklen, cost and tag.
0 commit comments