summaryrefslogtreecommitdiff
path: root/server/InterfaceControllerTest.cpp
diff options
context:
space:
mode:
authorChiachang <chiachangwang@google.com>2022-05-12 05:55:45 +0000
committerCherrypicker Worker <android-build-cherrypicker-worker@google.com>2022-06-02 12:45:58 +0000
commit3aa56610449ec05da56bbb83ceafb15a52ebaa1b (patch)
treec9abb5e0345d4f93cb339b274019943c743905a0 /server/InterfaceControllerTest.cpp
parent89e504e6c3bbcce06850100a99f5f9f2874ca36c (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 (cherry picked from commit cff5e88c75a4d23d472544b7008a4e51af1381c4) Merged-In: I3ac6bba439986b72dbddec99c6aca3394c6d3235
Diffstat (limited to 'server/InterfaceControllerTest.cpp')
0 files changed, 0 insertions, 0 deletions