commit | 868ae631982af107a18eab25bbfe2d4ff0ef9a11 | [log] [tgz] |
---|---|---|
author | Ken Chen <cken@google.com> | Wed Feb 24 17:50:08 2021 +0800 |
committer | Ken Chen <cken@google.com> | Thu Mar 04 03:40:30 2021 +0800 |
tree | a50a8c477aad4fd8520699aa7cc9f90265c6d0ef | |
parent | ea66eb9b3486660a5b2d6726bf4ecc0e0a15ed31 [diff] |
Reject overlapped ranges in Network::addUsers() Add a helper function to check if ranges are overlapped with itself or overlapped with the existing ranges. Bug: 176507580 Test: atest netd_integration_test Test: atest HostsideVpnTests Change-Id: I40ee5c4186c4697ae657bea3b63b73d5879d8d90