cnat: fix cnat_endpoint_encode
Type: fix Change-Id: I4ab713811626c097c7927228f3819b7785bbb951 Signed-off-by: Benoît Ganne <bganne@cisco.com>
This commit is contained in:
@@ -81,7 +81,7 @@ cnat_endpoint_encode (const cnat_endpoint_t * in,
|
||||
if (in->ce_flags & CNAT_EP_FLAG_RESOLVED)
|
||||
ip_address_encode2 (&in->ce_ip, &out->addr);
|
||||
else
|
||||
clib_memset ((void *) &in->ce_ip, 0, sizeof (in->ce_ip));
|
||||
clib_memset (&out->addr, 0, sizeof (out->addr));
|
||||
}
|
||||
|
||||
static void
|
||||
|
||||
Reference in New Issue
Block a user