Allow tethering pick prefix from all of private address range
Currently tethering only pick prefix from 192.168.0.0/16. There is no aviable tethering address if the upstream address is 192.168.x.y/16. This change allow tethering to pick prefix from any private address rnages. Now it still pick from 192.168.0.0/16 only to avoid behavior change. Will have follow up commit to change the configuration. Bug: 166057846 Bug: 170265597 Test: atest TetheringTests atest CtsTetheringTest Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1436852 Change-Id: I008d5e5902a0fb41ac564c73f265e1c942c8dcad Merged-In: Ib6304eb8b4788e9196d0af48e72f00a6bda73a5f (cherry picked from commit 5a60d621055df9721b2206702d6e5f482f175fa7)
Loading
Please register or sign in to comment