summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/hash.h5
-rw-r--r--lib/routemap.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/lib/hash.h b/lib/hash.h
index e7ba3187f5..7b3372d433 100644
--- a/lib/hash.h
+++ b/lib/hash.h
@@ -36,6 +36,11 @@ extern "C" {
#define HASHWALK_CONTINUE 0
#define HASHWALK_ABORT -1
+#if CONFDATE > 20200225
+CPP_NOTICE("hash.h: time to remove hash_backet #define")
+#endif
+#define hash_backet hash_bucket
+
struct hash_bucket {
/*
* if this bucket is the head of the linked listed, len denotes the
diff --git a/lib/routemap.c b/lib/routemap.c
index 64677e8863..54b5383173 100644
--- a/lib/routemap.c
+++ b/lib/routemap.c
@@ -2257,7 +2257,7 @@ static void route_map_pentry_update(route_map_event_t event,
}
}
-static void route_map_pentry_process_dependency(struct hash_bucket *backet,
+static void route_map_pentry_process_dependency(struct hash_backet *backet,
void *data)
{
char *rmap_name = NULL;