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 /tests/lib | |
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 'tests/lib')
-rw-r--r-- | tests/lib/test_srcdest_table.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/lib/test_srcdest_table.c b/tests/lib/test_srcdest_table.c index 959358bbe..5c0e17177 100644 --- a/tests/lib/test_srcdest_table.c +++ b/tests/lib/test_srcdest_table.c @@ -195,10 +195,10 @@ static void test_state_del_route(struct test_state *test, XFREE(MTYPE_TMP, hash_entry_intern); } -static void verify_log(struct hash_backet *backet, void *arg) +static void verify_log(struct hash_bucket *bucket, void *arg) { struct test_state *test = arg; - struct prefix *hash_entry = backet->data; + struct prefix *hash_entry = bucket->data; struct prefix *dst_p = &hash_entry[0]; struct prefix_ipv6 *src_p = (struct prefix_ipv6 *)&hash_entry[1]; struct route_node *rn = srcdest_rnode_lookup(test->table, dst_p, src_p); @@ -209,9 +209,9 @@ static void verify_log(struct hash_backet *backet, void *arg) route_unlock_node(rn); } -static void dump_log(struct hash_backet *backet, void *arg) +static void dump_log(struct hash_bucket *bucket, void *arg) { - struct prefix *hash_entry = backet->data; + struct prefix *hash_entry = bucket->data; struct prefix_ipv6 *dst_p = (struct prefix_ipv6 *)&hash_entry[0]; struct prefix_ipv6 *src_p = (struct prefix_ipv6 *)&hash_entry[1]; char *route_id = format_srcdest(dst_p, src_p); |