Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit f0db4081 authored by Lorenzo Colitti's avatar Lorenzo Colitti
Browse files

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
parent 8e21d78c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment