[srp-server] use kNetifThreadInternal for UDP socket (#10992)

This commit updates `Srp::Server` to associate its UDP socket with
`kNetifThreadInternal`, ensuring that received messages are from the
internal Thread network interface (i.e., from devices within the
Thread mesh).
This commit is contained in:
Abtin Keshavarzian
2024-12-05 18:53:24 -08:00
committed by GitHub
parent 6bbb258023
commit 7b72e97782
3 changed files with 2 additions and 9 deletions
+1 -1
View File
@@ -1076,7 +1076,7 @@ void TestSrpClientDelayedResponse(void)
sServerRxCount = 0;
SuccessOrQuit(udpSocket.Open(Ip6::kNetifThreadHost));
SuccessOrQuit(udpSocket.Open(Ip6::kNetifThreadInternal));
SuccessOrQuit(udpSocket.Bind(kServerPort));
//- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -