commit | cff5e88c75a4d23d472544b7008a4e51af1381c4 | [log] [tgz] |
---|---|---|
author | Chiachang <chiachangwang@google.com> | Thu May 12 05:55:45 2022 +0000 |
committer | chiachangwang <chiachangwang@google.com> | Thu Jun 02 09:20:00 2022 +0000 |
tree | ccae8f5913ac733067693c909d591c8c81452d2a | |
parent | f9e81ac2e0629754a03d331a2a6e339b814204a0 [diff] |
Restrict the local network range If the network assigns a range that is not a defined local network range, it should not be considered as a local network range. Thus, intersect the network assigned range with RFC1918/ CGNAT/LINK LOCAL ranges to ensure it's an accepted local network range. Bug: 184750836 Test: cd system/netd ; atest Change-Id: I3ac6bba439986b72dbddec99c6aca3394c6d3235