commit | 5ad421a3d00c92c155d57af9d1a05d81cc2fa88f | [log] [tgz] |
---|---|---|
author | Lorenzo Colitti <lorenzo@google.com> | Sun Nov 17 15:05:02 2013 +0900 |
committer | Lorenzo Colitti <lorenzo@google.com> | Tue Nov 26 21:55:15 2013 +0900 |
tree | 68626927245cd2e5bbe42cddeff69b3199465e6a | |
parent | 9d4ac9703657142b190d3c256de7c3329e5a4b29 [diff] |
Use LinkAddress in address notifications. Currently address{Updated,Removed} pass in the address as a string such as "fe80::1/64". Use LinkAddresses instead, since that's what it is. This makes the code more robust in the unlikely case that netd passes in an invalid string. In the future we can move flags and scope into the LinkAddress itself and simplify the code further. Bug: 9180552 Change-Id: I66599f9529cf421caa7676fdd0141bb110b8589e