Skip to contentSkip to conversation

dpp: use peer_addr for pkex exchange request

PATCH Applied James Prestwood 2 participants 2 messages Sep 6, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 src/dpp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
src/dpp.c +1 -1
index 5d56456d..6f2d45c2 100644
@@ -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;
 
Signature · 1 line
2.34.1
#1 lore raw

Hi James,

Quoted 5 lines · James Prestwood

This was hard coded to broadcast and missed in the initial changes to support starting PKEX to a specific peer.

---
  src/dpp.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

Applied, thanks.

Regards,
-Denis