Warning be gone.
Change-Id: I683298c9f1dbff4c1067fb3004b5554fdc8b4ee1 Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
This commit is contained in:
@ -1556,7 +1556,7 @@ static void vl_api_ip_address_details_t_handler (vl_api_ip_address_details_t * m
|
||||
if (!jm->is_ipv6) {
|
||||
ipv4_address_t *address = 0;
|
||||
vec_add2(jm->ipv4_addresses, address, 1);
|
||||
address->ip = *(u32*)mp->ip;
|
||||
memcpy(&address->ip, mp->ip, 4);
|
||||
address->prefix_length = mp->prefix_length;
|
||||
} else {
|
||||
ipv6_address_t *address = 0;
|
||||
|
Reference in New Issue
Block a user