summaryrefslogtreecommitdiff
path: root/pimd
diff options
context:
space:
mode:
Diffstat (limited to 'pimd')
-rw-r--r--pimd/pim_cmd.c4
-rw-r--r--pimd/pim_nht.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/pimd/pim_cmd.c b/pimd/pim_cmd.c
index 193eddf68a..eaec002a73 100644
--- a/pimd/pim_cmd.c
+++ b/pimd/pim_cmd.c
@@ -2789,9 +2789,9 @@ struct pnc_cache_walk_data {
struct pim_instance *pim;
};
-static int pim_print_pnc_cache_walkcb(struct hash_backet *backet, void *arg)
+static int pim_print_pnc_cache_walkcb(struct hash_bucket *bucket, void *arg)
{
- struct pim_nexthop_cache *pnc = backet->data;
+ struct pim_nexthop_cache *pnc = bucket->data;
struct pnc_cache_walk_data *cwd = arg;
struct vty *vty = cwd->vty;
struct pim_instance *pim = cwd->pim;
diff --git a/pimd/pim_nht.c b/pimd/pim_nht.c
index 2d808639b5..b6cd1a7d11 100644
--- a/pimd/pim_nht.c
+++ b/pimd/pim_nht.c
@@ -266,10 +266,10 @@ void pim_resolve_upstream_nh(struct pim_instance *pim, struct prefix *nht_p)
}
/* Update Upstream nexthop info based on Nexthop update received from Zebra.*/
-static int pim_update_upstream_nh_helper(struct hash_backet *backet, void *arg)
+static int pim_update_upstream_nh_helper(struct hash_bucket *bucket, void *arg)
{
struct pim_instance *pim = (struct pim_instance *)arg;
- struct pim_upstream *up = (struct pim_upstream *)backet->data;
+ struct pim_upstream *up = (struct pim_upstream *)bucket->data;
int vif_index = 0;
enum pim_rpf_result rpf_result;