From 3311a17e40500263f9a77de8a91b0572fc68ea4c Mon Sep 17 00:00:00 2001 From: Yulong Pei Date: Thu, 9 Jan 2020 01:12:43 +0800 Subject: lb: fix that lb_add_del_vip and lb_add_del_as api doesn't work correctly Currently if user want to set ip4 address to the api, it must convert to ip6 format, e.g. user want to ip4 "90.1.2.1" but must convert to "::5A01:0201", it is not acceptable, this fix solved the issue. Ticket: FDIO-753 Type: fix Change-Id: I2ffa5a3d38400ee176cf601421074f71fc395f03 Signed-off-by: Yulong Pei (cherry picked from commit db43bb6af78c33e47d29889b047cced4b11fe4d7) --- src/vnet/CMakeLists.txt | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/vnet') diff --git a/src/vnet/CMakeLists.txt b/src/vnet/CMakeLists.txt index 8bda764cf24..690c3e8c7f1 100644 --- a/src/vnet/CMakeLists.txt +++ b/src/vnet/CMakeLists.txt @@ -1524,3 +1524,12 @@ add_vpp_library(vnet ) ############################################################################## +# vpp api test client library +############################################################################## + +add_vpp_library (vatclient + SOURCES ip/ip_types_api.c + DEPENDS api_headers +) + +############################################################################## -- cgit