-/* $OpenBSD: engine.c,v 1.22 2017/05/28 19:13:13 naddy Exp $ */
+/* $OpenBSD: engine.c,v 1.23 2017/05/28 19:57:38 florian Exp $ */
/*
* Copyright (c) 2017 Florian Obser <florian@openbsd.org>
memcpy(&address.mask, &addr_proposal->mask, sizeof(address.mask));
address.vltime = addr_proposal->vltime;
address.pltime = addr_proposal->pltime;
+ address.privacy = addr_proposal->privacy;
engine_imsg_compose_main(IMSG_CONFIGURE_ADDRESS, 0, &address,
sizeof(address));
-/* $OpenBSD: engine.h,v 1.6 2017/05/28 09:35:56 florian Exp $ */
+/* $OpenBSD: engine.h,v 1.7 2017/05/28 19:57:38 florian Exp $ */
/*
* Copyright (c) 2004, 2005 Esben Norby <norby@openbsd.org>
struct in6_addr mask;
uint32_t vltime;
uint32_t pltime;
+ int privacy;
};
struct imsg_configure_dfr {
-/* $OpenBSD: slaacd.c,v 1.15 2017/05/28 09:35:56 florian Exp $ */
+/* $OpenBSD: slaacd.c,v 1.16 2017/05/28 19:57:38 florian Exp $ */
/*
* Copyright (c) 2017 Florian Obser <florian@openbsd.org>
in6_addreq.ifra_lifetime.ia6t_preferred = t + address->pltime;
in6_addreq.ifra_lifetime.ia6t_pltime = address->pltime;
+ in6_addreq.ifra_flags = IN6_IFF_PRIVACY;
log_debug("%s: %s", __func__, if_name);