Fix FTBFS on OpenBSD.
diff --git a/src/dhcp6.c b/src/dhcp6.c
index 5e151d6..146e693 100644
--- a/src/dhcp6.c
+++ b/src/dhcp6.c
@@ -280,7 +280,7 @@
 {
   struct mac_param *parm = parmv;
   
-  if (family == AF_INET6 && IN6_ARE_ADDR_EQUAL(parm->target, addrp))
+  if (family == AF_INET6 && IN6_ARE_ADDR_EQUAL(parm->target, (struct in6_addr *)addrp))
     {
       if (maclen <= DHCP_CHADDR_MAX)
 	{