summaryrefslogtreecommitdiffstats
path: root/ripd
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2022-04-02 13:32:57 +0200
committerDonald Sharp <sharpd@nvidia.com>2022-04-02 13:46:19 +0200
commitf89c0aed6332dc63e31131225e6c79531166722f (patch)
tree268ea5db09267ef17a0e9b86bee329ac41ab61bf /ripd
parenttests: Fix spelling of disbale (diff)
downloadfrr-f89c0aed6332dc63e31131225e6c79531166722f.tar.xz
frr-f89c0aed6332dc63e31131225e6c79531166722f.zip
*: Fix spelling of wether
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'ripd')
-rw-r--r--ripd/rip_interface.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/ripd/rip_interface.c b/ripd/rip_interface.c
index 1269f25b3..738b5c648 100644
--- a/ripd/rip_interface.c
+++ b/ripd/rip_interface.c
@@ -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)