diff options
author | Martin Pitt <martin.pitt@ubuntu.com> | 2016-06-03 11:15:44 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2016-06-03 11:15:44 +0200 |
commit | d2bc1251320c9e69c5fc6953f01aba80cafd5029 (patch) | |
tree | 75ce6d469f8ae0f4188bcf020c918bf167c5b6bd /src/resolve/resolved-dns-query.h | |
parent | 21fce63ecff9b72a9cb2d1ee9fa6f42de98702a8 (diff) |
resolved: fix comments in resolve.conf for search domain overflows (#3422)
Write comments about "too many search domains" and "Total length of all search
domains is too long" just once. Also put it on a separate line, as
resolv.conf(5) only specifies comments in a line by themselves.
This is ugly to do if write_resolv_conf_search() gets called once for every
search domain. So change it to receive the complete OrderedSet instead and do
the iteration by itself.
Add test cases to networkd-test.py.
https://launchpad.net/bugs/1588229
Diffstat (limited to 'src/resolve/resolved-dns-query.h')
0 files changed, 0 insertions, 0 deletions