summaryrefslogtreecommitdiff
path: root/ripd/rip_interface.c
diff options
context:
space:
mode:
Diffstat (limited to 'ripd/rip_interface.c')
-rw-r--r--ripd/rip_interface.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/ripd/rip_interface.c b/ripd/rip_interface.c
index 1269f25b35..042c9713b2 100644
--- a/ripd/rip_interface.c
+++ b/ripd/rip_interface.c
@@ -311,7 +311,7 @@ int if_check_address(struct rip *rip, struct in_addr addr)
return 0;
}
-/* Inteface link down message processing. */
+/* Interface link down message processing. */
static int rip_ifp_down(struct interface *ifp)
{
rip_interface_sync(ifp);
@@ -327,7 +327,7 @@ static int rip_ifp_down(struct interface *ifp)
return 0;
}
-/* Inteface link up message processing */
+/* Interface link up message processing */
static int rip_ifp_up(struct interface *ifp)
{
if (IS_RIP_DEBUG_ZEBRA)
@@ -351,7 +351,7 @@ static int rip_ifp_up(struct interface *ifp)
return 0;
}
-/* Inteface addition message from zebra. */
+/* Interface addition message from zebra. */
static int rip_ifp_create(struct interface *ifp)
{
rip_interface_sync(ifp);
@@ -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)