summaryrefslogtreecommitdiffstats
path: root/ospfd
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2022-04-01 22:27:55 +0200
committerDonald Sharp <sharpd@nvidia.com>2022-04-01 22:27:55 +0200
commit78dfa0c754373e6ab8d879ec51ed703300519cdb (patch)
treebbee7ee84d621be7b82b339f1184b0f8e63c549d /ospfd
parenttests: Fix spelling of daemons (diff)
downloadfrr-78dfa0c754373e6ab8d879ec51ed703300519cdb.tar.xz
frr-78dfa0c754373e6ab8d879ec51ed703300519cdb.zip
*: Fix spelling of Following
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'ospfd')
-rw-r--r--ospfd/ospf_apiserver.c14
-rw-r--r--ospfd/ospf_apiserver.h10
-rw-r--r--ospfd/ospf_ext.c10
-rw-r--r--ospfd/ospf_opaque.c18
-rw-r--r--ospfd/ospf_opaque.h2
-rw-r--r--ospfd/ospf_ri.c12
-rw-r--r--ospfd/ospf_sr.c2
-rw-r--r--ospfd/ospf_te.c14
8 files changed, 41 insertions, 41 deletions
diff --git a/ospfd/ospf_apiserver.c b/ospfd/ospf_apiserver.c
index a624f4ce1..97bd125ae 100644
--- a/ospfd/ospf_apiserver.c
+++ b/ospfd/ospf_apiserver.c
@@ -221,7 +221,7 @@ static struct ospf_apiserver *lookup_apiserver_by_lsa(struct ospf_lsa *lsa)
}
/* -----------------------------------------------------------
- * Followings are functions to manage client connections.
+ * Following are functions to manage client connections.
* -----------------------------------------------------------
*/
static int ospf_apiserver_new_lsa_hook(struct ospf_lsa *lsa)
@@ -1174,7 +1174,7 @@ int ospf_apiserver_handle_register_event(struct ospf_apiserver *apiserv,
/* -----------------------------------------------------------
- * Followings are functions for LSDB synchronization.
+ * Following are functions for LSDB synchronization.
* -----------------------------------------------------------
*/
@@ -1345,7 +1345,7 @@ int ospf_apiserver_handle_sync_lsdb(struct ospf_apiserver *apiserv,
/* -----------------------------------------------------------
- * Followings are functions to originate or update LSA
+ * Following are functions to originate or update LSA
* from an application.
* -----------------------------------------------------------
*/
@@ -1787,7 +1787,7 @@ out:
/* -----------------------------------------------------------
- * Followings are functions to delete LSAs
+ * Following are functions to delete LSAs
* -----------------------------------------------------------
*/
@@ -1952,7 +1952,7 @@ void ospf_apiserver_flush_opaque_lsa(struct ospf_apiserver *apiserv,
/* -----------------------------------------------------------
- * Followings are callback functions to handle opaque types
+ * Following are callback functions to handle opaque types
* -----------------------------------------------------------
*/
@@ -2102,7 +2102,7 @@ void ospf_apiserver_show_info(struct vty *vty, struct json_object *json,
}
/* -----------------------------------------------------------
- * Followings are functions to notify clients about events
+ * Following are functions to notify clients about events
* -----------------------------------------------------------
*/
@@ -2417,7 +2417,7 @@ static void apiserver_clients_lsa_change_notify(uint8_t msgtype,
/* -------------------------------------------------------------
- * Followings are hooks invoked when LSAs are updated or deleted
+ * Following are hooks invoked when LSAs are updated or deleted
* -------------------------------------------------------------
*/
diff --git a/ospfd/ospf_apiserver.h b/ospfd/ospf_apiserver.h
index 3d5773708..b4d8bb2f5 100644
--- a/ospfd/ospf_apiserver.h
+++ b/ospfd/ospf_apiserver.h
@@ -79,7 +79,7 @@ enum ospf_apiserver_event {
};
/* -----------------------------------------------------------
- * Followings are functions to manage client connections.
+ * Following are functions to manage client connections.
* -----------------------------------------------------------
*/
@@ -99,7 +99,7 @@ extern int ospf_apiserver_send_reply(struct ospf_apiserver *apiserv,
uint32_t seqnr, uint8_t rc);
/* -----------------------------------------------------------
- * Followings are message handler functions
+ * Following are message handler functions
* -----------------------------------------------------------
*/
@@ -147,7 +147,7 @@ extern int ospf_apiserver_handle_sync_lsdb(struct ospf_apiserver *apiserv,
/* -----------------------------------------------------------
- * Followings are functions for LSA origination/deletion
+ * Following are functions for LSA origination/deletion
* -----------------------------------------------------------
*/
@@ -169,7 +169,7 @@ extern void ospf_apiserver_flood_opaque_lsa(struct ospf_lsa *lsa);
/* -----------------------------------------------------------
- * Followings are callback functions to handle opaque types
+ * Following are callback functions to handle opaque types
* -----------------------------------------------------------
*/
@@ -191,7 +191,7 @@ extern void ospf_apiserver_flush_opaque_lsa(struct ospf_apiserver *apiserv,
uint8_t opaque_type);
/* -----------------------------------------------------------
- * Followings are hooks when LSAs are updated or deleted
+ * Following are hooks when LSAs are updated or deleted
* -----------------------------------------------------------
*/
diff --git a/ospfd/ospf_ext.c b/ospfd/ospf_ext.c
index 0e5a7e29c..69847088e 100644
--- a/ospfd/ospf_ext.c
+++ b/ospfd/ospf_ext.c
@@ -74,7 +74,7 @@ static struct ospf_ext_lp OspfEXT;
/*
* -----------------------------------------------------------------------
- * Followings are initialize/terminate functions for Extended Prefix/Link
+ * Following are initialize/terminate functions for Extended Prefix/Link
* Opaque LSA handling.
* -----------------------------------------------------------------------
*/
@@ -216,7 +216,7 @@ void ospf_ext_finish(void)
/*
* ---------------------------------------------------------------------
- * Followings are control functions for Extended Prefix/Link Opaque LSA
+ * Following are control functions for Extended Prefix/Link Opaque LSA
* parameters management.
* ---------------------------------------------------------------------
*/
@@ -681,7 +681,7 @@ void ospf_ext_update_sr(bool enable)
/*
* -----------------------------------------------------------------------
- * Followings are callback functions against generic Opaque-LSAs handling
+ * Following are callback functions against generic Opaque-LSAs handling
* -----------------------------------------------------------------------
*/
@@ -985,7 +985,7 @@ static int ospf_ext_pref_lsa_update(struct ospf_lsa *lsa)
/*
* -------------------------------------------------------
- * Followings are OSPF protocol processing functions for
+ * Following are OSPF protocol processing functions for
* Extended Prefix/Link Opaque LSA
* -------------------------------------------------------
*/
@@ -1713,7 +1713,7 @@ static void ospf_ext_lsa_schedule(struct ext_itf *exti, enum lsa_opcode op)
/*
* ------------------------------------
- * Followings are vty show functions.
+ * Following are vty show functions.
* ------------------------------------
*/
diff --git a/ospfd/ospf_opaque.c b/ospfd/ospf_opaque.c
index b781c9edc..947454c0d 100644
--- a/ospfd/ospf_opaque.c
+++ b/ospfd/ospf_opaque.c
@@ -61,7 +61,7 @@ DEFINE_MTYPE_STATIC(OSPFD, OPAQUE_INFO_PER_TYPE, "OSPF opaque per-type info");
DEFINE_MTYPE_STATIC(OSPFD, OPAQUE_INFO_PER_ID, "OSPF opaque per-ID info");
/*------------------------------------------------------------------------*
- * Followings are initialize/terminate functions for Opaque-LSAs handling.
+ * Following are initialize/terminate functions for Opaque-LSAs handling.
*------------------------------------------------------------------------*/
#ifdef SUPPORT_OSPF_API
@@ -258,7 +258,7 @@ static const char *ospf_opaque_type_name(uint8_t opaque_type)
}
/*------------------------------------------------------------------------*
- * Followings are management functions to store user specified callbacks.
+ * Following are management functions to store user specified callbacks.
*------------------------------------------------------------------------*/
struct opaque_info_per_type; /* Forward declaration. */
@@ -467,7 +467,7 @@ ospf_opaque_functab_lookup(struct ospf_lsa *lsa)
}
/*------------------------------------------------------------------------*
- * Followings are management functions for self-originated LSA entries.
+ * Following are management functions for self-originated LSA entries.
*------------------------------------------------------------------------*/
/*
@@ -759,7 +759,7 @@ out:
}
/*------------------------------------------------------------------------*
- * Followings are (vty) configuration functions for Opaque-LSAs handling.
+ * Following are (vty) configuration functions for Opaque-LSAs handling.
*------------------------------------------------------------------------*/
DEFUN (capability_opaque,
@@ -830,7 +830,7 @@ static void ospf_opaque_register_vty(void)
}
/*------------------------------------------------------------------------*
- * Followings are collection of user-registered function callers.
+ * Following are collection of user-registered function callers.
*------------------------------------------------------------------------*/
static int opaque_lsa_new_if_callback(struct list *funclist,
@@ -978,7 +978,7 @@ out:
}
/*------------------------------------------------------------------------*
- * Followings are glue functions to call Opaque-LSA specific processing.
+ * Following are glue functions to call Opaque-LSA specific processing.
*------------------------------------------------------------------------*/
int ospf_opaque_new_if(struct interface *ifp)
@@ -1283,7 +1283,7 @@ out:
}
/*------------------------------------------------------------------------*
- * Followings are Opaque-LSA origination/refresh management functions.
+ * Following are Opaque-LSA origination/refresh management functions.
*------------------------------------------------------------------------*/
static void ospf_opaque_type9_lsa_originate(struct thread *t);
@@ -1647,7 +1647,7 @@ struct ospf_lsa *ospf_opaque_lsa_refresh(struct ospf_lsa *lsa)
}
/*------------------------------------------------------------------------*
- * Followings are re-origination/refresh/flush operations of Opaque-LSAs,
+ * Following are re-origination/refresh/flush operations of Opaque-LSAs,
* triggered by external interventions (vty session, signaling, etc).
*------------------------------------------------------------------------*/
@@ -2162,7 +2162,7 @@ void ospf_opaque_self_originated_lsa_received(struct ospf_neighbor *nbr,
}
/*------------------------------------------------------------------------*
- * Followings are util functions; probably be used by Opaque-LSAs only...
+ * Following are util functions; probably be used by Opaque-LSAs only...
*------------------------------------------------------------------------*/
struct ospf *oi_to_top(struct ospf_interface *oi)
diff --git a/ospfd/ospf_opaque.h b/ospfd/ospf_opaque.h
index b26bc1e10..59d4288bf 100644
--- a/ospfd/ospf_opaque.h
+++ b/ospfd/ospf_opaque.h
@@ -64,7 +64,7 @@
#define OPAQUE_TYPE_EXTENDED_LINK_LSA 8
#define OPAQUE_TYPE_MAX 8
-/* Followings types are proposed in internet-draft documents. */
+/* Following types are proposed in internet-draft documents. */
#define OPAQUE_TYPE_8021_QOSPF 129
#define OPAQUE_TYPE_SECONDARY_NEIGHBOR_DISCOVERY 224
#define OPAQUE_TYPE_FLOODGATE 225
diff --git a/ospfd/ospf_ri.c b/ospfd/ospf_ri.c
index 0efa6ca4d..3efdb5310 100644
--- a/ospfd/ospf_ri.c
+++ b/ospfd/ospf_ri.c
@@ -66,7 +66,7 @@
static struct ospf_router_info OspfRI;
/*------------------------------------------------------------------------------*
- * Followings are initialize/terminate functions for Router Information
+ * Following are initialize/terminate functions for Router Information
*handling.
*------------------------------------------------------------------------------*/
@@ -232,7 +232,7 @@ static struct ospf_ri_area_info *lookup_by_area(struct ospf_area *area)
}
/*------------------------------------------------------------------------*
- * Followings are control functions for ROUTER INFORMATION parameters
+ * Following are control functions for ROUTER INFORMATION parameters
*management.
*------------------------------------------------------------------------*/
@@ -668,7 +668,7 @@ void ospf_router_info_update_sr(bool enable, struct sr_node *srn)
}
/*------------------------------------------------------------------------*
- * Followings are callback functions against generic Opaque-LSAs handling.
+ * Following are callback functions against generic Opaque-LSAs handling.
*------------------------------------------------------------------------*/
static void ospf_router_info_ism_change(struct ospf_interface *oi,
int old_state)
@@ -693,7 +693,7 @@ static void ospf_router_info_ism_change(struct ospf_interface *oi,
}
/*------------------------------------------------------------------------*
- * Followings are OSPF protocol processing functions for ROUTER INFORMATION
+ * Following are OSPF protocol processing functions for ROUTER INFORMATION
*------------------------------------------------------------------------*/
static void build_tlv_header(struct stream *s, struct tlv_header *tlvh)
@@ -1223,7 +1223,7 @@ static int ospf_router_info_lsa_update(struct ospf_lsa *lsa)
}
/*------------------------------------------------------------------------*
- * Followings are vty session control functions.
+ * Following are vty session control functions.
*------------------------------------------------------------------------*/
#define check_tlv_size(size, msg) \
@@ -1660,7 +1660,7 @@ static void ospf_router_info_config_write_router(struct vty *vty)
}
/*------------------------------------------------------------------------*
- * Followings are vty command functions.
+ * Following are vty command functions.
*------------------------------------------------------------------------*/
/* Simple wrapper schedule RI LSA action in function of the scope */
static void ospf_router_info_schedule(enum lsa_opcode opcode)
diff --git a/ospfd/ospf_sr.c b/ospfd/ospf_sr.c
index b5dbc4a5a..c861685f4 100644
--- a/ospfd/ospf_sr.c
+++ b/ospfd/ospf_sr.c
@@ -2023,7 +2023,7 @@ void ospf_sr_update_task(struct ospf *ospf)
/*
* --------------------------------------
- * Followings are vty command functions.
+ * Following are vty command functions.
* --------------------------------------
*/
diff --git a/ospfd/ospf_te.c b/ospfd/ospf_te.c
index 267987367..ddc62982b 100644
--- a/ospfd/ospf_te.c
+++ b/ospfd/ospf_te.c
@@ -79,7 +79,7 @@ static const char *const mode2text[] = {"Off", "AS", "Area"};
/*------------------------------------------------------------------------*
- * Followings are initialize/terminate functions for MPLS-TE handling.
+ * Following are initialize/terminate functions for MPLS-TE handling.
*------------------------------------------------------------------------*/
static int ospf_mpls_te_new_if(struct interface *ifp);
@@ -197,7 +197,7 @@ void ospf_mpls_te_finish(void)
}
/*------------------------------------------------------------------------*
- * Followings are control functions for MPLS-TE parameters management.
+ * Following are control functions for MPLS-TE parameters management.
*------------------------------------------------------------------------*/
static void del_mpls_te_link(void *val)
{
@@ -814,7 +814,7 @@ static int is_mandated_params_set(struct mpls_te_link *lp)
}
/*------------------------------------------------------------------------*
- * Followings are callback functions against generic Opaque-LSAs handling.
+ * Following are callback functions against generic Opaque-LSAs handling.
*------------------------------------------------------------------------*/
static int ospf_mpls_te_new_if(struct interface *ifp)
@@ -1079,7 +1079,7 @@ static void ospf_mpls_te_nsm_change(struct ospf_neighbor *nbr, int old_state)
}
/*------------------------------------------------------------------------*
- * Followings are OSPF protocol processing functions for MPLS-TE LSA.
+ * Following are OSPF protocol processing functions for MPLS-TE LSA.
*------------------------------------------------------------------------*/
static void build_tlv_header(struct stream *s, struct tlv_header *tlvh)
@@ -1624,7 +1624,7 @@ void ospf_mpls_te_lsa_schedule(struct mpls_te_link *lp, enum lsa_opcode opcode)
/**
* ------------------------------------------------------
- * Followings are Link State Data Base control functions.
+ * Following are Link State Data Base control functions.
* ------------------------------------------------------
*/
@@ -3153,7 +3153,7 @@ static void ospf_te_init_ted(struct ls_ted *ted, struct ospf *ospf)
}
/*------------------------------------------------------------------------*
- * Followings are vty session control functions.
+ * Following are vty session control functions.
*------------------------------------------------------------------------*/
#define check_tlv_size(size, msg) \
do { \
@@ -3846,7 +3846,7 @@ static void ospf_mpls_te_config_write_router(struct vty *vty)
}
/*------------------------------------------------------------------------*
- * Followings are vty command functions.
+ * Following are vty command functions.
*------------------------------------------------------------------------*/
DEFUN (ospf_mpls_te_on,