commit | 309a75dbc3a96471f66967379b0e6b043244ae42 | [log] [tgz] |
---|---|---|
author | Lorenzo Colitti <lorenzo@google.com> | Tue Jun 24 00:34:39 2014 +0900 |
committer | Lorenzo Colitti <lorenzo@google.com> | Thu Jun 26 17:04:38 2014 +0900 |
tree | c35b54715b4eeab5b183316711b0c5dd45bfed00 | |
parent | c0b9efa49ef7fd4649c2e7bdbf9889d82a7327d2 [diff] |
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