mirror of https://github.com/tailscale/tailscale/
net/dns: handle comments in resolv.conf
Currently, comments in resolv.conf cause our parser to fail,
with error messages like:
ParseIP("192.168.0.100 # comment"): unexpected character (at " # comment")
Fix that.
Noticed while looking through logs.
Signed-off-by: Josh Bleecher Snyder <josh@tailscale.com>
(cherry picked from commit 9f00510833)
pull/3563/head
parent
47975d373f
commit
21b1a44cd6
Loading…
Reference in New Issue