diff options
| author | Lorenzo Colitti <lorenzo@google.com> | 2020-05-19 01:23:06 +0900 |
|---|---|---|
| committer | Lorenzo Colitti <lorenzo@google.com> | 2020-05-19 01:59:06 +0900 |
| commit | f0db40813a9e47da137b1d983da4010805f89f13 (patch) | |
| tree | 8db57767064a7e22fcd634d4ffdf40a4677ae814 /server/TetherController.cpp | |
| parent | 8e21d78cc61d0e39b7968f001a59ebb3c7ab1d40 (diff) | |
Add an IPPrefix::forString parsing function.
This provides a way to parse IP prefixes from strings, and
addresses a TODO. Instead of reusing NetdConstants' parsePrefix
function, which it cannot depend on, it implements the parsing
using the IPAddress class in the same file and standard string
methods.
Bug: 153694684
Test: new unit tests
Change-Id: I47b29c8525f3c0236e48b4bb8dbebb223e83bc31
Diffstat (limited to 'server/TetherController.cpp')
0 files changed, 0 insertions, 0 deletions
