commit | b0e6dc5464f959b3d42f37b32f4b01767f6fe506 | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Wed Jul 11 15:24:39 2012 -0700 |
committer | Elliott Hughes <enh@google.com> | Wed Jul 11 15:24:39 2012 -0700 |
tree | d58dbda5a5b01525057d16704da43f610caf35b1 | |
parent | 5655e03a7e10b3201b6814dac7b2f6ac5607ebf2 [diff] |
Fix NetworkInterface.getNetworkInterfaces /proc/net/if_inet6 parsing. It turns out that some devices can have very large interface indexes, and my code was incorrectly assuming they'd always fit in 8 bits. Bug: http://code.google.com/p/android/issues/detail?id=34022 Change-Id: I388a46ffe45f9706a4e28fb3b2975c991a74d419