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

Commit 309a75db authored by Lorenzo Colitti's avatar Lorenzo Colitti
Browse files

Modify DNS server update methods.

1. Make addDnsServer not add duplicate servers and return a
   boolean value incating whether it changed anything. This is
   consistent with what we do for LinkAddresses and routes.
2. Add a setDnsServers method that sets all the DNS servers to
   the specified collection. This is consistent with what we do
   for LinkAddress.

Bug: 9180552
Change-Id: I5baed09253261b66ea42ae2ea82398118e3ab0ac
parent c0b9efa4
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