commit | 1dd42bb9da388c55191449b848f9d82dc4673229 | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Wed Apr 21 12:48:25 2010 -0700 |
committer | Elliott Hughes <enh@google.com> | Wed Apr 21 12:48:25 2010 -0700 |
tree | 429063ab0724eb90948379538b9263285d87d347 | |
parent | 28f4d74b59e9e40278c4f1fe797d8c75f51b5326 [diff] |
Fix NetworkInterface on sholes/ppp. We need to use IFA_LOCAL to get the interface addresses; IFA_ADDRESS is the remote address (which is usually the same as IFA_LOCAL, but not in the ppp case). Tested on sholes, where it fixes the test used in the bug; also tested on passion, where it doesn't break the already-working test. Bug: 2575983 Change-Id: Ib334a002dc099daeeb05cbc341fe233d4d11d2f7