diff options
author | Tim Bray <tim@kooky.org> | 2019-02-19 16:46:52 +0100 |
---|---|---|
committer | Quentin Young <qlyoung@cumulusnetworks.com> | 2019-02-25 17:22:36 +0100 |
commit | e3b78da875d7ccb744763bb9f8ef6d08655e3975 (patch) | |
tree | 58e77a2f68461230e8283624c73cd9a7827e5aa1 /bgpd/bgp_aspath.c | |
parent | Merge pull request #3856 from donaldsharp/dplane_use_after_free (diff) | |
download | frr-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_aspath.c')
-rw-r--r-- | bgpd/bgp_aspath.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/bgpd/bgp_aspath.c b/bgpd/bgp_aspath.c index 9521a9e91..51833394d 100644 --- a/bgpd/bgp_aspath.c +++ b/bgpd/bgp_aspath.c @@ -2077,14 +2077,14 @@ void aspath_print_vty(struct vty *vty, const char *format, struct aspath *as, vty_out(vty, "%s", suffix); } -static void aspath_show_all_iterator(struct hash_backet *backet, +static void aspath_show_all_iterator(struct hash_bucket *bucket, struct vty *vty) { struct aspath *as; - as = (struct aspath *)backet->data; + as = (struct aspath *)bucket->data; - vty_out(vty, "[%p:%u] (%ld) ", (void *)backet, backet->key, as->refcnt); + vty_out(vty, "[%p:%u] (%ld) ", (void *)bucket, bucket->key, as->refcnt); vty_out(vty, "%s\n", as->str); } @@ -2092,7 +2092,7 @@ static void aspath_show_all_iterator(struct hash_backet *backet, `show [ip] bgp paths' command. */ void aspath_print_all_vty(struct vty *vty) { - hash_iterate(ashash, (void (*)(struct hash_backet *, + hash_iterate(ashash, (void (*)(struct hash_bucket *, void *))aspath_show_all_iterator, vty); } |