diff options
author | Chiachang Wang <chiachangwang@google.com> | 2019-11-28 10:42:22 +0800 |
---|---|---|
committer | Chiachang Wang <chiachangwang@google.com> | 2019-11-28 10:44:37 +0800 |
commit | f6d6cd295cc43b9420f0d06658ae8d8f5469793a (patch) | |
tree | 7bfa2633fbc2094f271b18d932d588bbcb5d8af7 /src/android/net/util/NetworkStackUtils.java | |
parent | c46b981ef03366f1171aead5cf1c5a6026404420 (diff) |
Update type in RoutingAttribute
The length in RoutingAttribute use getshort() from ByteBuffer.
Theoretically, it should be stored as a short. Also, similar
structure alignment is implemented in alignedLengthOf() in
NetlinkConstant. Update to use the same function.
Bug: 145275899
Test: atest NetworkStackTests NetworkStackNextTests
Change-Id: Ibabb15ee0a96b4c0331cc080b578c625e10d4b37
Diffstat (limited to 'src/android/net/util/NetworkStackUtils.java')
0 files changed, 0 insertions, 0 deletions