commit | 696d1f9e4175a4d0d4e6ef5677ad6d3c96c135a5 | [log] [tgz] |
---|---|---|
author | Xiao Ma <xiaom@google.com> | Sun Dec 10 00:33:59 2023 +0900 |
committer | Xiao Ma <xiaom@google.com> | Tue Dec 12 16:49:05 2023 +0900 |
tree | bfccdbed6380490c41a53e0147e95b1df461135b | |
parent | d2888426b2e98b7d7488025f26cbf59383664999 [diff] |
Exclude preferred/valid lifetime of 0 when comparing the minimal lifetime. The functions getMinimalPreferredLifetime/getMinimalValidLifetime always return 0 if any element has 0 lifetime, which results in a wrong expiry of lifetime which is also 0 when scheduling the lease timer. Bug: 260934173 Test: atest NetworkStackIntegrationTests Test: atest NetworkStackTests Change-Id: Idce90091457baaf4fd6b808323c5dc8e93b77462