lb: fix memcpy error issue 70/21470/4
authorYulong Pei <yulong.pei@intel.com>
Fri, 23 Aug 2019 09:24:13 +0000 (17:24 +0800)
committerDamjan Marion <dmarion@me.com>
Thu, 29 Aug 2019 12:34:16 +0000 (12:34 +0000)
commit71f36067ca923fa4eb10060d6f6878f5fa864673
tree4058c86e0aab11831953aa8b8bf6b3482df567e3
parent73cad33b56ffc08943e9c0d73ecb14466558baae
lb: fix memcpy error issue

vl_api_prefix_t size is 21 byte, ip46_address_t size is 16 byte, only copy
16 byte of vl_api_prefix_t to ip46_address_t is not correct.

Type:fix

Change-Id: I35ede7836a0c878d39388b29b15d91bb08f87a07
Signed-off-by: Yulong Pei <yulong.pei@intel.com>
src/plugins/lb/api.c