summaryrefslogtreecommitdiffstats
path: root/src/vnet/ip6-nd/rd_cp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/vnet/ip6-nd/rd_cp.c')
-rw-r--r--src/vnet/ip6-nd/rd_cp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vnet/ip6-nd/rd_cp.c b/src/vnet/ip6-nd/rd_cp.c
index 9c5d2b9aaf0..bab1b6520a4 100644
--- a/src/vnet/ip6-nd/rd_cp.c
+++ b/src/vnet/ip6-nd/rd_cp.c
@@ -211,7 +211,7 @@ get_interface_mac_address (u32 sw_if_index, u8 mac[])
return 1;
}
- clib_memcpy_fast (mac, eth_if->address, 6);
+ clib_memcpy_fast (mac, &eth_if->address, 6);
return 0;
}