*: Fix spelling of wether

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
This commit is contained in:
Donald Sharp 2022-04-02 07:32:57 -04:00
parent d94ee2727b
commit f89c0aed63
4 changed files with 10 additions and 10 deletions

View File

@ -68,7 +68,7 @@ struct xrefdata_logmsg {
* initialization and/or before config load. There is no need to call e.g. * 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 * 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 * 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, extern void vzlogx(const struct xref_logmsg *xref, int prio,

View 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, /* 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 * 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 * will soon change, this is used to ensure all report updates are sent even
* when missing status update events */ * when missing status update events */
int pcep_ctrl_send_report(struct frr_pthread *fpt, int pcc_id, int pcep_ctrl_send_report(struct frr_pthread *fpt, int pcc_id,

View File

@ -617,7 +617,7 @@ int rip_interface_address_delete(ZAPI_CALLBACK_ARGS)
hook_call(rip_ifaddr_del, ifc); 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); 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 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. */ * is within the ripng_enable_network table. */
static int rip_enable_network_lookup_if(struct interface *ifp) 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; 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) static int rip_enable_network_lookup2(struct connected *connected)
{ {
struct rip_interface *ri = connected->ifp->info; 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.ifindex = connected->ifp->ifindex;
nh.type = NEXTHOP_TYPE_IFINDEX; nh.type = NEXTHOP_TYPE_IFINDEX;
if (set) { 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 */ * "network IF_OR_PREF" one */
if ((rip_enable_if_lookup(rip, connected->ifp->name) if ((rip_enable_if_lookup(rip, connected->ifp->name)
>= 0) >= 0)

View File

@ -432,7 +432,7 @@ int ripng_interface_address_delete(ZAPI_CALLBACK_ARGS)
"RIPng connected address %pFX delete", "RIPng connected address %pFX delete",
p); p);
/* Check wether this prefix needs to be removed. */ /* Check whether this prefix needs to be removed. */
ripng_apply_address_del(ifc); ripng_apply_address_del(ifc);
} }
connected_free(&ifc); connected_free(&ifc);
@ -442,7 +442,7 @@ int ripng_interface_address_delete(ZAPI_CALLBACK_ARGS)
} }
/* Lookup RIPng enable network. */ /* 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. */ * is within the ripng->enable_network table. */
static int ripng_enable_network_lookup_if(struct interface *ifp) 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; 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) static int ripng_enable_network_lookup2(struct connected *connected)
{ {
struct ripng_interface *ri = connected->ifp->info; 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); apply_mask_ipv6(&address);
if (set) { 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 */ * "network IF_OR_PREF" one */
if ((ripng_enable_if_lookup(ripng, connected->ifp->name) if ((ripng_enable_if_lookup(ripng, connected->ifp->name)
>= 0) >= 0)