already in the interface on the engine side.
-/* $OpenBSD: engine.c,v 1.64 2021/03/07 10:29:12 florian Exp $ */
+/* $OpenBSD: engine.c,v 1.65 2021/03/07 10:30:13 florian Exp $ */
/*
* Copyright (c) 2017 Florian Obser <florian@openbsd.org>
&addr_proposal->uptime))
fatal("clock_gettime");
addr_proposal->if_index = imsg_addrinfo.if_index;
- memcpy(&addr_proposal->hw_address,
- &imsg_addrinfo.hw_address,
+ memcpy(&addr_proposal->hw_address, &iface->hw_address,
sizeof(addr_proposal->hw_address));
addr_proposal->addr = imsg_addrinfo.addr;
addr_proposal->mask = imsg_addrinfo.mask;
-/* $OpenBSD: frontend.c,v 1.49 2021/01/19 16:49:56 florian Exp $ */
+/* $OpenBSD: frontend.c,v 1.50 2021/03/07 10:30:13 florian Exp $ */
/*
* Copyright (c) 2017 Florian Obser <florian@openbsd.org>
memset(&imsg_addrinfo, 0, sizeof(imsg_addrinfo));
imsg_addrinfo.if_index = if_index;
- get_lladdr(if_name, &imsg_addrinfo.hw_address,
- &imsg_addrinfo.ll_address);
memset(&imsg_link_state, 0, sizeof(imsg_link_state));
imsg_link_state.if_index = if_index;
-/* $OpenBSD: slaacd.h,v 1.29 2021/02/27 10:28:12 florian Exp $ */
+/* $OpenBSD: slaacd.h,v 1.30 2021/03/07 10:30:13 florian Exp $ */
/*
* Copyright (c) 2017 Florian Obser <florian@openbsd.org>
struct imsg_addrinfo {
uint32_t if_index;
- struct ether_addr hw_address;
- struct sockaddr_in6 ll_address;
struct sockaddr_in6 addr;
struct in6_addr mask;
int privacy;