diff options
author | Jakub Grajciar <jgrajcia@cisco.com> | 2020-03-20 13:48:50 +0100 |
---|---|---|
committer | Jakub Grajciar <jgrajcia@cisco.com> | 2020-03-20 13:48:50 +0100 |
commit | f872e9e99cb0e251bc8ea855be17ffe4d5bc3c27 (patch) | |
tree | df15da30fdb6dabfa195b75a6eba42c0dd4a8cab /src/vnet/ip | |
parent | 27bb99ec804afc5977897fe97043735a508c4a78 (diff) |
ip: ip API types coverity fix
Type: fix
Signed-off-by: Jakub Grajciar <jgrajcia@cisco.com>
Change-Id: I6b2c7550ae5918c27b02b1173533d2042c6c15c7
Diffstat (limited to 'src/vnet/ip')
-rw-r--r-- | src/vnet/ip/ip_types_api.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/vnet/ip/ip_types_api.c b/src/vnet/ip/ip_types_api.c index 98fb5280493..72a16adec86 100644 --- a/src/vnet/ip/ip_types_api.c +++ b/src/vnet/ip/ip_types_api.c @@ -292,7 +292,6 @@ void ip_mprefix_encode (const mfib_prefix_t * in, vl_api_mprefix_t * out) { out->af = (FIB_PROTOCOL_IP6 == in->fp_proto ? ADDRESS_IP6 : ADDRESS_IP4); - out->af = out->af; out->grp_address_length = clib_host_to_net_u16 (in->fp_len); ip_address_union_encode (&in->fp_grp_addr, out->af, &out->grp_address); |