summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2020-02-27 02:03:34 +0100
committerQuentin Young <qlyoung@cumulusnetworks.com>2020-02-28 19:59:13 +0100
commit7f5818fbd674decdacec17764cf8c0cc89e26bca (patch)
treec1d0dc044d242f22d909327309aedaced696d2be /lib
parentMerge pull request #5862 from sworleys/PBR-No-Table-Range (diff)
downloadfrr-7f5818fbd674decdacec17764cf8c0cc89e26bca.tar.xz
frr-7f5818fbd674decdacec17764cf8c0cc89e26bca.zip
*: change hash_backet to hash_bucket
It's been a year search and destroy. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com> Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/hash.h5
-rw-r--r--lib/routemap.c2
2 files changed, 1 insertions, 6 deletions
diff --git a/lib/hash.h b/lib/hash.h
index 7b3372d43..e7ba3187f 100644
--- a/lib/hash.h
+++ b/lib/hash.h
@@ -36,11 +36,6 @@ 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 54b538317..64677e886 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_backet *backet,
+static void route_map_pentry_process_dependency(struct hash_bucket *backet,
void *data)
{
char *rmap_name = NULL;