summaryrefslogtreecommitdiffstats
path: root/src/vat/json_format.h
diff options
context:
space:
mode:
authorDave Barach <dave@barachs.net>2020-04-21 08:01:16 -0400
committerDave Wallace <dwallacelf@gmail.com>2020-04-21 17:16:31 +0000
commit54582663ab7d7105bc2407036a311d68707e5ab9 (patch)
treef38d86b0ae9e85eee32572ef27f94f8d08367d1e /src/vat/json_format.h
parent368104d06ad6d667a8cce152426916fc654b6627 (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
Diffstat (limited to 'src/vat/json_format.h')
0 files changed, 0 insertions, 0 deletions