diff options
author | Dave Barach <dave@barachs.net> | 2020-04-21 08:01:16 -0400 |
---|---|---|
committer | Andrew Yourtchenko <ayourtch@gmail.com> | 2020-08-13 17:20:47 +0000 |
commit | 367d6d86b61547bd71fdfed547f82734ec4d1bc5 (patch) | |
tree | 7752953f6777414776e7fa48af219e38c1ab8270 /test/test_bihash.py | |
parent | 99c6344d75ef002d9288d9c8d485fb961aee4de9 (diff) |
vat: fix increment_address(...)
vl_api_address_t uses a packed enum for the address family, compare
a->af directly with ADDRESS_IP4 / ADDRESS_IP6 instead of running a->af
through clib_host_to_net_u32(...) before compare.
Indirectly fixes api_ip_route_add_del(...) w/ count > 1.
Type: fix
Signed-off-by: Dave Barach <dave@barachs.net>
Change-Id: Ib7f562ec9e92ee63e52a338d318fcf1ce6221755
(cherry picked from commit 54582663ab7d7105bc2407036a311d68707e5ab9)
Diffstat (limited to 'test/test_bihash.py')
0 files changed, 0 insertions, 0 deletions