diff options
Diffstat (limited to 'zebra/zebra_gr.c')
| -rw-r--r-- | zebra/zebra_gr.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/zebra/zebra_gr.c b/zebra/zebra_gr.c index ca6a33cd52..5373f27882 100644 --- a/zebra/zebra_gr.c +++ b/zebra/zebra_gr.c @@ -118,7 +118,7 @@ static struct client_gr_info *zebra_gr_client_info_create(struct zserv *client) } /* - * A helper function to delte and destory client info. + * A helper function to delete and destroy client info. */ static void zebra_gr_client_info_delte(struct zserv *client, struct client_gr_info *info) @@ -162,7 +162,7 @@ int32_t zebra_gr_client_disconnect(struct zserv *client) client->restart_time = monotime(&tv); - /* For all the GR instance start the starle removal timer. */ + /* For all the GR instance start the stale removal timer. */ TAILQ_FOREACH (info, &client->gr_info_queue, gr_info) { if (ZEBRA_CLIENT_GR_ENABLED(info->capabilities) && (info->t_stale_removal == NULL)) { @@ -298,7 +298,7 @@ void zebra_gr_client_reconnect(struct zserv *client) /* * Update the graceful restart information * for the client instance. - * This function handles all the capabilties that are received. + * This function handles all the capabilities that are received. */ static void zebra_client_update_info(struct zserv *client, struct zapi_cap *api) { @@ -334,7 +334,7 @@ static void zebra_client_update_info(struct zserv *client, struct zapi_cap *api) if (!info) info = zebra_gr_client_info_create(client); - /* Udpate other parameters */ + /* Update other parameters */ if (!info->gr_enable) { client->gr_instance_count++; @@ -460,7 +460,7 @@ static int32_t zebra_gr_route_stale_delete_timer_expiry(struct thread *thread) cnt = zebra_gr_delete_stale_routes(info); - /* Retsart the timer */ + /* Restart the timer */ if (cnt > 0) { LOG_GR("%s: Client %s processed %d routes. Start timer again", __func__, zebra_route_string(client->proto), cnt); @@ -471,7 +471,7 @@ static int32_t zebra_gr_route_stale_delete_timer_expiry(struct thread *thread) &info->t_stale_removal); } else { /* No routes to delete for the VRF */ - LOG_GR("%s: Client %s all starle routes processed", __func__, + LOG_GR("%s: Client %s all stale routes processed", __func__, zebra_route_string(client->proto)); XFREE(MTYPE_TMP, info->current_prefix); @@ -668,7 +668,7 @@ static void zebra_gr_process_client_stale_routes(struct zserv *client, * Cancel the stale timer and process the routes */ if (info->t_stale_removal) { - LOG_GR("%s: Client %s cancled stale delete timer vrf %d", + LOG_GR("%s: Client %s canceled stale delete timer vrf %d", __func__, zebra_route_string(client->proto), info->vrf_id); THREAD_OFF(info->t_stale_removal); |
