diff options
| author | Renato Aguiar <renato@renatoaguiar.net> | 2024-10-28 08:00:48 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-10-28 08:00:48 -0700 |
| commit | 5d07c17b9395c513dc2d4674d63e33397ce794d5 (patch) | |
| tree | 03db711e57effe322d89012767f2532e265328fb /control/controlhttp/controlhttpserver | |
| parent | 9d1348fe212fccf52de11f4009e24a7436167fe7 (diff) | |
| download | tailscale-5d07c17b9395c513dc2d4674d63e33397ce794d5.tar.xz tailscale-5d07c17b9395c513dc2d4674d63e33397ce794d5.zip | |
net/dns: fix blank lines being added to resolv.conf on OpenBSD (#13928)
During resolv.conf update, old 'search' lines are cleared but '\n' is not
deleted, leaving behind a new blank line on every update.
This adds 's' flag to regexp, so '\n' is included in the match and deleted when
old lines are cleared.
Also, insert missing `\n` when updated 'search' line is appended to resolv.conf.
Signed-off-by: Renato Aguiar <renato@renatoaguiar.net>
Diffstat (limited to 'control/controlhttp/controlhttpserver')
0 files changed, 0 insertions, 0 deletions
