aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/dhcp/dhcp6_client_common_dp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/dhcp/dhcp6_client_common_dp.c')
-rw-r--r--src/plugins/dhcp/dhcp6_client_common_dp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/dhcp/dhcp6_client_common_dp.c b/src/plugins/dhcp/dhcp6_client_common_dp.c
index f8a96f151e3..2acd2f6ab90 100644
--- a/src/plugins/dhcp/dhcp6_client_common_dp.c
+++ b/src/plugins/dhcp/dhcp6_client_common_dp.c
@@ -71,7 +71,7 @@ generate_client_duid (void)
/* *INDENT-ON* */
if (eth_if)
- clib_memcpy (client_duid.lla, eth_if->address, 6);
+ clib_memcpy (client_duid.lla, &eth_if->address, 6);
else
{
clib_warning ("Failed to find any Ethernet interface, "