commit f6cfcb8ca2e4dd2def3aceb57990d96fddaab5eb
parent 163c2ebd37712160622670a971bb8cb9bc5c0d09
Author: James Prestwood <prestwoj@gmail.com>
Date: Fri, 6 Sep 2024 08:05:22 -0700
dpp: use peer_addr for pkex exchange request
This was hard coded to broadcast and missed in the initial changes
to support starting PKEX to a specific peer.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/dpp.c b/src/dpp.c
@@ -1840,7 +1840,7 @@ static void dpp_send_pkex_exchange_request(struct dpp_sm *dpp)
l_put_le16(l_ecc_curve_get_ike_group(dpp->curve), &group);
- iov[0].iov_len = dpp_build_header(own_mac, broadcast,
+ iov[0].iov_len = dpp_build_header(own_mac, dpp->peer_addr,
DPP_FRAME_PKEX_VERSION1_XCHG_REQUEST, hdr);
iov[0].iov_base = hdr;