diff options
author | Neale Ranns <nranns@cisco.com> | 2018-07-10 05:26:01 -0700 |
---|---|---|
committer | Damjan Marion <dmarion@me.com> | 2018-07-10 21:23:09 +0000 |
commit | 4555bb4ffa750ff5c50f030851fb21881ce285bb (patch) | |
tree | 05bd188f5f46ef7683d6a71bae7c374d53cb8791 /src/plugins/igmp/igmp_api.c | |
parent | de450cb3cca111c1c8545b41b9e83f1212465a92 (diff) |
IGMP: coverity found defects
Change-Id: Id6aba75c30712e9a0ac7b3075bd6cfc49d6bec36
Signed-off-by: Neale Ranns <nranns@cisco.com>
Diffstat (limited to 'src/plugins/igmp/igmp_api.c')
-rw-r--r-- | src/plugins/igmp/igmp_api.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/igmp/igmp_api.c b/src/plugins/igmp/igmp_api.c index 71fb3e22089..06bf26bbc17 100644 --- a/src/plugins/igmp/igmp_api.c +++ b/src/plugins/igmp/igmp_api.c @@ -134,7 +134,7 @@ send_igmp_details (unix_shared_memory_queue_t * q, igmp_main_t * im, mp->context = context; mp->sw_if_index = htonl (config->sw_if_index); clib_memcpy (mp->saddr.address, &src->key->ip4, sizeof (src->key->ip4)); - clib_memcpy (mp->gaddr.address, &group->key->ip4, sizeof (group->key->ip6)); + clib_memcpy (mp->gaddr.address, &group->key->ip4, sizeof (group->key->ip4)); vl_msg_api_send_shmem (q, (u8 *) & mp); } |