commit | 190f81d8d34e2d4e3d71e1780f8fcedd4da963cc | [log] [tgz] |
---|---|---|
author | Aaron Huang <huangaaron@google.com> | Tue Jul 20 17:41:11 2021 +0800 |
committer | Aaron Huang <huangaaron@google.com> | Wed Sep 15 18:09:56 2021 +0800 |
tree | 8e2ad9c82605aa04f21ed1753debd244f4dfc240 | |
parent | f9d8bb6b8efd1555c7b9b045ab64258bbcac30d8 [diff] |
Fix type confusion in createRandomUnicastAddress In createRandomUnicastAddress, it compare the mac with the DEFAULT_MAC_ADDRESS. However, the DEFAULT_MAC_ADDRESS is defined as a string, so the MacAddress equals check always return false. This patch corrects the wrong String definition to MacAddress. Bug: 182165856 Test: NetworkStaticLibTests Change-Id: Ia0905bfa7a4dd723f42903f77f9d925349ce193e