commit | 4d59f6cbe40451b84e4307851f36ba55649f17fd | [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 | bdae254729cfe6e95e5a833f41ac364114c97e8c | |
parent | 04bc8227d674f19ebd896c8077d19c502944a6ad [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