]> git.puffer.fish Git - matthieu/frr.git/commitdiff
*: Fix spelling of wether
authorDonald Sharp <sharpd@nvidia.com>
Sat, 2 Apr 2022 11:32:57 +0000 (07:32 -0400)
committerDonald Sharp <sharpd@nvidia.com>
Sat, 2 Apr 2022 11:46:19 +0000 (07:46 -0400)
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
lib/zlog.h
pathd/path_pcep_controller.h
ripd/rip_interface.c
ripngd/ripng_interface.c

index a530c589a8e41a2d999b49cbe1a23aa15632b1ce..dcc0bf14e9af21b149094acde5718c95d971bc83 100644 (file)
@@ -68,7 +68,7 @@ struct xrefdata_logmsg {
  * initialization and/or before config load.  There is no need to call e.g.
  * fprintf(stderr, ...) just because it's "too early" at startup.  Depending
  * on context, it may still be the right thing to use fprintf though -- try to
- * determine wether something is a log message or something else.
+ * determine whether something is a log message or something else.
  */
 
 extern void vzlogx(const struct xref_logmsg *xref, int prio,
index de113feee9934fe42e5358fc9598d20691e2c846..bc7ed4910acd3735d7d0c68113d1f4bfc274453c 100644 (file)
@@ -132,7 +132,7 @@ struct pcep_pcc_info *pcep_ctrl_get_pcc_info(struct frr_pthread *fpt,
 
 /* Asynchronously send a report. The caller is giving away the path structure,
  * it shouldn't be allocated on the stack. If `pcc_id` is `0` the report is
- * sent by all PCCs.  The parameter is_stable is used to hint wether the status
+ * sent by all PCCs.  The parameter is_stable is used to hint whether the status
  * will soon change, this is used to ensure all report updates are sent even
  * when missing status update events */
 int pcep_ctrl_send_report(struct frr_pthread *fpt, int pcc_id,
index 1269f25b357958c0e7021034b5f86c0bccb2c7b1..738b5c648b7d3cb37742b18bbc90c9c590c61368 100644 (file)
@@ -617,7 +617,7 @@ int rip_interface_address_delete(ZAPI_CALLBACK_ARGS)
 
                        hook_call(rip_ifaddr_del, ifc);
 
-                       /* Chech wether this prefix needs to be removed */
+                       /* Chech whether this prefix needs to be removed */
                        rip_apply_address_del(ifc);
                }
 
@@ -628,7 +628,7 @@ int rip_interface_address_delete(ZAPI_CALLBACK_ARGS)
 }
 
 /* Check interface is enabled by network statement. */
-/* Check wether the interface has at least a connected prefix that
+/* Check whether the interface has at least a connected prefix that
  * is within the ripng_enable_network table. */
 static int rip_enable_network_lookup_if(struct interface *ifp)
 {
@@ -663,7 +663,7 @@ static int rip_enable_network_lookup_if(struct interface *ifp)
        return -1;
 }
 
-/* Check wether connected is within the ripng_enable_network table. */
+/* Check whether connected is within the ripng_enable_network table. */
 static int rip_enable_network_lookup2(struct connected *connected)
 {
        struct rip_interface *ri = connected->ifp->info;
@@ -840,7 +840,7 @@ static void rip_connect_set(struct interface *ifp, int set)
                nh.ifindex = connected->ifp->ifindex;
                nh.type = NEXTHOP_TYPE_IFINDEX;
                if (set) {
-                       /* Check once more wether this prefix is within a
+                       /* Check once more whether this prefix is within a
                         * "network IF_OR_PREF" one */
                        if ((rip_enable_if_lookup(rip, connected->ifp->name)
                             >= 0)
index 57bc40f00537c1dca18f8a63bcd056a495eb3899..66e109985d1b9d1908ab8be395a36c5c4b78cd70 100644 (file)
@@ -432,7 +432,7 @@ int ripng_interface_address_delete(ZAPI_CALLBACK_ARGS)
                                        "RIPng connected address %pFX delete",
                                        p);
 
-                       /* Check wether this prefix needs to be removed. */
+                       /* Check whether this prefix needs to be removed. */
                        ripng_apply_address_del(ifc);
                }
                connected_free(&ifc);
@@ -442,7 +442,7 @@ int ripng_interface_address_delete(ZAPI_CALLBACK_ARGS)
 }
 
 /* Lookup RIPng enable network. */
-/* Check wether the interface has at least a connected prefix that
+/* Check whether the interface has at least a connected prefix that
  * is within the ripng->enable_network table. */
 static int ripng_enable_network_lookup_if(struct interface *ifp)
 {
@@ -477,7 +477,7 @@ static int ripng_enable_network_lookup_if(struct interface *ifp)
        return -1;
 }
 
-/* Check wether connected is within the ripng->enable_network table. */
+/* Check whether connected is within the ripng->enable_network table. */
 static int ripng_enable_network_lookup2(struct connected *connected)
 {
        struct ripng_interface *ri = connected->ifp->info;
@@ -647,7 +647,7 @@ static void ripng_connect_set(struct interface *ifp, int set)
                apply_mask_ipv6(&address);
 
                if (set) {
-                       /* Check once more wether this prefix is within a
+                       /* Check once more whether this prefix is within a
                         * "network IF_OR_PREF" one */
                        if ((ripng_enable_if_lookup(ripng, connected->ifp->name)
                             >= 0)