summaryrefslogtreecommitdiffstats
path: root/bgpd/bgp_nexthop.c
diff options
context:
space:
mode:
authorTim Bray <tim@kooky.org>2019-02-19 16:46:52 +0100
committerQuentin Young <qlyoung@cumulusnetworks.com>2019-02-25 17:22:36 +0100
commite3b78da875d7ccb744763bb9f8ef6d08655e3975 (patch)
tree58e77a2f68461230e8283624c73cd9a7827e5aa1 /bgpd/bgp_nexthop.c
parentMerge pull request #3856 from donaldsharp/dplane_use_after_free (diff)
downloadfrr-e3b78da875d7ccb744763bb9f8ef6d08655e3975.tar.xz
frr-e3b78da875d7ccb744763bb9f8ef6d08655e3975.zip
*: Rename backet to bucket
Presume typo from original author Signed-off-by: Tim Bray <tim@kooky.org>
Diffstat (limited to 'bgpd/bgp_nexthop.c')
-rw-r--r--bgpd/bgp_nexthop.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/bgpd/bgp_nexthop.c b/bgpd/bgp_nexthop.c
index 70d3d7b69..de97b73c7 100644
--- a/bgpd/bgp_nexthop.c
+++ b/bgpd/bgp_nexthop.c
@@ -184,10 +184,10 @@ struct bgp_addr {
struct list *ifp_name_list;
};
-static void show_address_entry(struct hash_backet *backet, void *args)
+static void show_address_entry(struct hash_bucket *bucket, void *args)
{
struct vty *vty = (struct vty *)args;
- struct bgp_addr *addr = (struct bgp_addr *)backet->data;
+ struct bgp_addr *addr = (struct bgp_addr *)bucket->data;
char *name;
struct listnode *node;
@@ -204,7 +204,7 @@ static void show_address_entry(struct hash_backet *backet, void *args)
void bgp_nexthop_show_address_hash(struct vty *vty, struct bgp *bgp)
{
hash_iterate(bgp->address_hash,
- (void (*)(struct hash_backet *, void *))show_address_entry,
+ (void (*)(struct hash_bucket *, void *))show_address_entry,
vty);
}