Skip to content

Commit

Permalink
RootCanal: No resolved address for random static
Browse files Browse the repository at this point in the history
Bug: 232987004
Test: cert/run
Tag: #gd-refactor
Change-Id: Icf4fe88a181e497bdc6994e5e3973e25f4166916
(cherry picked from commit 27fd22c14c108eed3bb8977d684d701f98f5b4df)
Merged-In: Icf4fe88a181e497bdc6994e5e3973e25f4166916
  • Loading branch information
myles-android committed May 20, 2022
1 parent 5d6d21a commit 8d55197
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tools/rootcanal/model/controller/link_layer_controller.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1598,7 +1598,8 @@ uint16_t LinkLayerController::HandleLeConnection(AddressWithType address,
connection_address = peer_resolved_address.GetAddress();
}
Address local_resolved_address = own_address.GetAddress();
if (local_resolved_address == properties_.GetAddress()) {
if (local_resolved_address == properties_.GetAddress() ||
local_resolved_address == properties_.GetLeAddress()) {
local_resolved_address = Address::kEmpty;
}

Expand Down

0 comments on commit 8d55197

Please sign in to comment.